mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 20:26:26 +08:00
chore: set initial guest permission 0
This commit is contained in:
@ -39,7 +39,7 @@ func initUser() {
|
||||
Password: "guest",
|
||||
Role: model.GUEST,
|
||||
BasePath: "/",
|
||||
Permission: 512,
|
||||
Permission: 0,
|
||||
}
|
||||
if err := db.CreateUser(guest); err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user