This commit is contained in:
Kenneth Kehl
2023-09-13 12:16:43 -07:00
parent 93e4d1b4bb
commit 91f1790c89
5 changed files with 13 additions and 29 deletions

View File

@@ -63,14 +63,6 @@ def sign_in():
else:
invited_user.accept_invite()
# TODO this is not the right test to do to find test users
if os.getenv("NOTIFY_E2E_TEST_EMAIL") == "ken.kehl@fedramp.gov":
user_id = session["user_details"]["id"]
activate_user(user_id)
return redirect(
url_for("main.show_accounts_or_dashboard", next=redirect_url)
)
user.send_login_code()
if user.sms_auth: