mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
Fix test
This commit is contained in:
parent
3e983e3557
commit
4b13d5a28c
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ def authorize():
|
|||
Scope=Scope,
|
||||
)
|
||||
else: # POST - user allows or denies
|
||||
if not current_user.is_authenticated or not current_user.is_enabled:
|
||||
if not current_user.is_authenticated or not current_user.is_active:
|
||||
LOG.i(
|
||||
"Attempt to validate a OAUth allow request by an unauthenticated user"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue