mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
Add User's IsForbidden.
This commit is contained in:
@ -99,6 +99,7 @@ func (c *ApiController) Signup() {
|
||||
Affiliation: form.Affiliation,
|
||||
IsAdmin: false,
|
||||
IsGlobalAdmin: false,
|
||||
IsForbidden: false,
|
||||
}
|
||||
object.AddUser(user)
|
||||
|
||||
|
Reference in New Issue
Block a user