chore: set initial guest permission 0

This commit is contained in:
Noah Hsu 2022-07-27 21:53:21 +08:00
parent 212dbb277e
commit eface83716

View File

@ -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)