mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -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:
@@ -114,8 +114,8 @@ class User(JSONModel, UserMixin):
|
||||
response = user_api_client.update_user_attribute(self.id, **kwargs)
|
||||
self.__init__(response)
|
||||
|
||||
def update_password(self, password, validated_email_access=False):
|
||||
response = user_api_client.update_password(self.id, password, validated_email_access=validated_email_access)
|
||||
def update_password(self, password):
|
||||
response = user_api_client.update_password(self.id, password)
|
||||
self.__init__(response)
|
||||
|
||||
def update_email_access_validated_at(self):
|
||||
|
||||
Reference in New Issue
Block a user