mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Add logging around auth{entication,orization} calls
This commit is contained in:
@@ -15,7 +15,10 @@ from notifications_python_client.errors import HTTPError
|
||||
from notifications_utils.url_safe_token import check_token
|
||||
|
||||
from app import user_api_client
|
||||
from app.event_handlers import create_email_change_event, create_mobile_number_change_event
|
||||
from app.event_handlers import (
|
||||
create_email_change_event,
|
||||
create_mobile_number_change_event,
|
||||
)
|
||||
from app.main import main
|
||||
from app.main.forms import (
|
||||
ChangeEmailForm,
|
||||
@@ -95,7 +98,7 @@ def user_profile_email_authenticate():
|
||||
create_email_change_event(
|
||||
user_id=current_user.id,
|
||||
updated_by_id=current_user.id,
|
||||
original_email_address=current_user.email,
|
||||
original_email_address=current_user.email_address,
|
||||
new_email_address=session[NEW_EMAIL],
|
||||
)
|
||||
return render_template('views/change-email-continue.html',
|
||||
|
||||
Reference in New Issue
Block a user