mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
fix: null properties bug
Signed-off-by: wasabi <690898835@qq.com>
This commit is contained in:
parent
264bf5c447
commit
8e6e427ce6
@ -46,6 +46,7 @@ func initBuiltInUser() {
|
|||||||
IsAdmin: true,
|
IsAdmin: true,
|
||||||
IsGlobalAdmin: true,
|
IsGlobalAdmin: true,
|
||||||
IsForbidden: false,
|
IsForbidden: false,
|
||||||
|
Properties: make(map[string]string),
|
||||||
}
|
}
|
||||||
AddUser(user)
|
AddUser(user)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user