mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-22 21:04:07 +08:00
fix: missing salt of guest user (close #5737)
This commit is contained in:
parent
e3e790f461
commit
ce06f394f1
@ -48,6 +48,7 @@ func initUser() {
|
||||
guest = &model.User{
|
||||
Username: "guest",
|
||||
PwdHash: model.TwoHashPwd("guest", salt),
|
||||
Salt: salt,
|
||||
Role: model.GUEST,
|
||||
BasePath: "/",
|
||||
Permission: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user