Don't update account recovery until after activation

Corrected PEP8 errors

ENT-2607
This commit is contained in:
Mike O'Connell
2020-02-14 14:23:27 -05:00
parent e5e96c9dde
commit 7d67dcfb59

View File

@@ -664,10 +664,10 @@ def student_dashboard(request):
"Add a recovery email to retain access when single-sign on is not available. "
"Go to {link_start}your Account Settings{link_end}.")
).format(
link_start = HTML("<a href='{account_setting_page}'>").format(
link_start=HTML("<a href='{account_setting_page}'>").format(
account_setting_page=reverse('account_settings'),
),
link_end = HTML("</a>")
link_end=HTML("</a>")
)
else:
recovery_email_activation_message = Text(