Fixes local user setup to perform case-insensitive verification of existing usernames / emails (#1658)

This commit is contained in:
Matt Scott
2023-11-24 08:07:20 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -258,7 +258,7 @@ def login():
result = user.create_local_user()
if not result['status']:
current_app.logger.warning('Unable to create ' + azure_username)
current_app.logger.warning('Unable to create ' + azure_username + ' Reasoning: ' + result['msg'])
session.pop('azure_token', None)
# note: a redirect to login results in an endless loop, so render the login page instead
return render_template('login.html',