Commit a3a105cb by asadiqbal

ENT-604 Fix SAML Error on UI

parent 05437483
...@@ -1368,7 +1368,7 @@ def login_user(request, error=""): # pylint: disable=too-many-statements,unused ...@@ -1368,7 +1368,7 @@ def login_user(request, error=""): # pylint: disable=too-many-statements,unused
user = pipeline.get_authenticated_user(requested_provider, username, third_party_uid) user = pipeline.get_authenticated_user(requested_provider, username, third_party_uid)
third_party_auth_successful = True third_party_auth_successful = True
except User.DoesNotExist: except User.DoesNotExist:
AUDIT_LOG.warning( AUDIT_LOG.info(
u"Login failed - user with username {username} has no social auth " u"Login failed - user with username {username} has no social auth "
"with backend_name {backend_name}".format( "with backend_name {backend_name}".format(
username=username, backend_name=backend_name) username=username, backend_name=backend_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment