Skip to content

Commit

Permalink
Merge branch 'main' into refactor-authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Nov 27, 2023
2 parents 3e672ff + 73aa2cb commit 8a6707a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ def login_mfa(
response = client.initiate_auth(user.username, user.password)

if "ChallengeName" in response:
session = response["Session"]
auth_session = response["Session"]
mfa_login_response = client.respond_to_auth_challenge(
user.username,
session,
auth_session,
response["ChallengeName"],
"",
mfa_code=user.temp_password,
Expand Down

0 comments on commit 8a6707a

Please sign in to comment.