Skip to content

Commit

Permalink
OM-296 Fixed Mpass username read from payload (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
malinowskikam authored Sep 18, 2024
1 parent 510bfae commit 3de656e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msystems/views/mpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _handle_acs_login(request):
# TODO Add information about failed login attempt for the user
return redirect(MsystemsConfig.mpass_config["mpass_login_redirect"])

username = auth.get_nameid()
username = auth.get_nameid().lower()
user_data = auth.get_attributes()

user = MpassUserService().login(username=username, user_data=user_data)
Expand Down

0 comments on commit 3de656e

Please sign in to comment.