Skip to content

Commit

Permalink
fix: missing salt of guest user (close #5737)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jan 17, 2024
1 parent e3e790f commit ce06f39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/bootstrap/data/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func initUser() {
guest = &model.User{
Username: "guest",
PwdHash: model.TwoHashPwd("guest", salt),
Salt: salt,
Role: model.GUEST,
BasePath: "/",
Permission: 0,
Expand Down

0 comments on commit ce06f39

Please sign in to comment.