diff --git a/app/oauth/views/authorize.py b/app/oauth/views/authorize.py index 17f7b368..49941836 100644 --- a/app/oauth/views/authorize.py +++ b/app/oauth/views/authorize.py @@ -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" )