mirror of https://github.com/Xhofe/alist
chore: set initial guest permission 0
parent
212dbb277e
commit
eface83716
|
@ -39,7 +39,7 @@ func initUser() {
|
||||||
Password: "guest",
|
Password: "guest",
|
||||||
Role: model.GUEST,
|
Role: model.GUEST,
|
||||||
BasePath: "/",
|
BasePath: "/",
|
||||||
Permission: 512,
|
Permission: 0,
|
||||||
}
|
}
|
||||||
if err := db.CreateUser(guest); err != nil {
|
if err := db.CreateUser(guest); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in New Issue