mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 07:58:25 -04:00
Send 2fa email and move user to waiting page when they need to re-validate email access
This commit is contained in:
@@ -112,6 +112,6 @@ def test_should_sign_in_when_password_reset_is_successful_for_email_auth(
|
||||
|
||||
# the log-in flow makes a couple of calls
|
||||
mock_get_user.assert_called_once_with(user['id'])
|
||||
mock_update_user_password.assert_called_once_with(user['id'], 'a-new_password')
|
||||
mock_update_user_password.assert_called_once_with(user['id'], 'a-new_password', from_email=True)
|
||||
|
||||
assert not mock_send_verify_code.called
|
||||
|
||||
Reference in New Issue
Block a user