Updating recovery email address from an already verified email address auto verifies the new address
This commit is contained in:
@@ -209,8 +209,7 @@ def update_account_settings(requesting_user, update, username=None):
|
||||
"user_message": text_type(err)
|
||||
}
|
||||
else:
|
||||
account_recovery.secondary_email = update["secondary_email"]
|
||||
account_recovery.save()
|
||||
account_recovery.update_recovery_email(update["secondary_email"])
|
||||
|
||||
# If the user asked to change full name, validate it
|
||||
if changing_full_name:
|
||||
|
||||
Reference in New Issue
Block a user