mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Apply suggestions from code review
Co-authored-by: Ben Thorner <benthorner@users.noreply.github.com>
This commit is contained in:
committed by
Leo Hemsted
parent
8112930e24
commit
ae4fc977c1
@@ -64,7 +64,7 @@ def verify_email(token):
|
||||
|
||||
session['user_details'] = {"email": user.email_address, "id": user.id}
|
||||
|
||||
if user.auth_type == 'email_auth':
|
||||
if user.email_auth:
|
||||
try:
|
||||
return activate_user(user.id)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user