|
@@ -531,7 +531,7 @@ def set_viewer_email():
|
|
|
if change_email(db, user_id, new_email):
|
|
if change_email(db, user_id, new_email):
|
|
|
del_email_code(db, user_id)
|
|
del_email_code(db, user_id)
|
|
|
flash(f"Email Address \"{new_email}\" successfully registered.", "success")
|
|
flash(f"Email Address \"{new_email}\" successfully registered.", "success")
|
|
|
- send_private_chat(user_id, f'{user_name}, thanks for registering for Kofi perks! I appreciate your support!')
|
|
|
|
|
|
|
+ send_private_chat(user_id, f'{user_name}, thanks for registering for donation perks! I appreciate your support!')
|
|
|
current_app.logger.info(f'Changed {user_id}\'s email to {new_email}')
|
|
current_app.logger.info(f'Changed {user_id}\'s email to {new_email}')
|
|
|
else:
|
|
else:
|
|
|
flash(f"Incorrect code. Email Address \"{new_email}\" was not registered.", "failure")
|
|
flash(f"Incorrect code. Email Address \"{new_email}\" was not registered.", "failure")
|