mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 05:01:44 -05:00
Fix support URLs in Notify emails
This commit is contained in:
@@ -206,7 +206,7 @@ def send_user_confirm_new_email(user_id):
|
|||||||
personalisation={
|
personalisation={
|
||||||
'name': user_to_send_to.name,
|
'name': user_to_send_to.name,
|
||||||
'url': _create_confirmation_url(user=user_to_send_to, email_address=email['email']),
|
'url': _create_confirmation_url(user=user_to_send_to, email_address=email['email']),
|
||||||
'feedback_url': current_app.config['ADMIN_BASE_URL'] + '/feedback'
|
'feedback_url': current_app.config['ADMIN_BASE_URL'] + '/support'
|
||||||
},
|
},
|
||||||
notification_type=EMAIL_TYPE,
|
notification_type=EMAIL_TYPE,
|
||||||
api_key_id=None,
|
api_key_id=None,
|
||||||
@@ -259,7 +259,7 @@ def send_already_registered_email(user_id):
|
|||||||
personalisation={
|
personalisation={
|
||||||
'signin_url': current_app.config['ADMIN_BASE_URL'] + '/sign-in',
|
'signin_url': current_app.config['ADMIN_BASE_URL'] + '/sign-in',
|
||||||
'forgot_password_url': current_app.config['ADMIN_BASE_URL'] + '/forgot-password',
|
'forgot_password_url': current_app.config['ADMIN_BASE_URL'] + '/forgot-password',
|
||||||
'feedback_url': current_app.config['ADMIN_BASE_URL'] + '/feedback'
|
'feedback_url': current_app.config['ADMIN_BASE_URL'] + '/support'
|
||||||
},
|
},
|
||||||
notification_type=EMAIL_TYPE,
|
notification_type=EMAIL_TYPE,
|
||||||
api_key_id=None,
|
api_key_id=None,
|
||||||
|
|||||||
Reference in New Issue
Block a user