Allow superusers to disable user accounts
This commit is contained in:
parent
442cbed087
commit
dc5af7496c
19 changed files with 291 additions and 37 deletions
|
@ -403,6 +403,7 @@ def conduct_signin(username_or_email, password):
|
|||
return {
|
||||
'needsEmailVerification': needs_email_verification,
|
||||
'invalidCredentials': invalid_credentials,
|
||||
'message': error_message
|
||||
}, 403
|
||||
|
||||
|
||||
|
|
Reference in a new issue