mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-08 04:00:51 +08:00
Add user soft deletion.
This commit is contained in:
@@ -67,6 +67,7 @@ func initBuiltInUser() {
|
||||
IsAdmin: true,
|
||||
IsGlobalAdmin: true,
|
||||
IsForbidden: false,
|
||||
IsDeleted: false,
|
||||
Properties: make(map[string]string),
|
||||
}
|
||||
AddUser(user)
|
||||
|
Reference in New Issue
Block a user