mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Remove old method of updating email_access_validated_at
Previously we were passing a flag to the API which handled this. Now we are doing it at the time of clicking the link, not at the time of storing the new password. We don’t need to update the timestamp twice, so this commit removes the code which tells the API to do it.
This commit is contained in:
@@ -23,7 +23,7 @@ def log_in_user(user_id):
|
||||
session['current_session_id'] = user.current_session_id
|
||||
# Check if coming from new password page
|
||||
if 'password' in session.get('user_details', {}):
|
||||
user.update_password(session['user_details']['password'], validated_email_access=True)
|
||||
user.update_password(session['user_details']['password'])
|
||||
user.activate()
|
||||
user.login()
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user