mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
[FEAT] Attempt to include password reset link in welcome email
This commit is contained in:
@@ -348,9 +348,6 @@ CONSTANCE_CONFIG = {
|
|||||||
'RELATIONSHIP_FORM_HELP': (
|
'RELATIONSHIP_FORM_HELP': (
|
||||||
'',
|
'',
|
||||||
'Help text to display at the top of relationship forms.'),
|
'Help text to display at the top of relationship forms.'),
|
||||||
'DEPLOYMENT_URL': (
|
|
||||||
'http://localhost',
|
|
||||||
'URL at which this mapper tool is accessible - do NOT include a trailing forward slash'),
|
|
||||||
'PARENT_PROJECT_NAME': (
|
'PARENT_PROJECT_NAME': (
|
||||||
'',
|
'',
|
||||||
'Parent project name'),
|
'Parent project name'),
|
||||||
@@ -448,9 +445,6 @@ CONSTANCE_CONFIG_FIELDSETS = {
|
|||||||
'ORGANISATION_LIST_HELP',
|
'ORGANISATION_LIST_HELP',
|
||||||
'RELATIONSHIP_FORM_HELP',
|
'RELATIONSHIP_FORM_HELP',
|
||||||
),
|
),
|
||||||
'Deployment': (
|
|
||||||
'DEPLOYMENT_URL',
|
|
||||||
),
|
|
||||||
} # yapf: disable
|
} # yapf: disable
|
||||||
|
|
||||||
CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
|
CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
"created": "2020-04-27T12:13:30.448Z",
|
"created": "2020-04-27T12:13:30.448Z",
|
||||||
"last_updated": "2020-04-27T14:45:27.152Z",
|
"last_updated": "2020-04-27T14:45:27.152Z",
|
||||||
"subject": "Welcome to {{config.PROJECT_LONG_NAME}}",
|
"subject": "Welcome to {{config.PROJECT_LONG_NAME}}",
|
||||||
"content": "Dear user,\r\n\r\nWelcome to {{ config.PROJECT_LONG_NAME }}. You can set your password at {{ config.DEPLOYMENT_URL }}/password_reset/.\r\n\r\nThanks,\r\n\r\nThe {{ config.PROJECT_SHORT_NAME }} team",
|
"content": "Dear user,\r\n\r\nWelcome to {{ config.PROJECT_LONG_NAME }}. You can set your password at {% block reset_link %}{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}{% endblock %}.\r\n\r\nThanks,\r\n\r\nThe {{ config.PROJECT_SHORT_NAME }} team",
|
||||||
"html_content": "<h1>{{ config.PROJECT_LONG_NAME }}</h1><br/><p>Dear user,</p><br/><p>Welcome to {{ config.PROJECT_LONG_NAME }}. You can set your password <a href='{{ config.DEPLOYMENT_URL }}/password_reset/'>here</a>.</p><br/><p>Thanks,</p><p>The {{ config.PROJECT_SHORT_NAME }} team</p>",
|
"html_content": "<h1>{{ config.PROJECT_LONG_NAME }}</h1><br/><p>Dear user,</p><br/><p>Welcome to {{ config.PROJECT_LONG_NAME }}. {% block reset_link %}You can set your password <a href='{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}'>here</a>.{% endblock %}</p><br/><p>Thanks,</p><p>The {{ config.PROJECT_SHORT_NAME }} team</p>",
|
||||||
"language": "",
|
"language": "",
|
||||||
"default_template": null
|
"default_template": null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user