forked from CogStack/MedCATtrainer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from CogStack/CU-862j2cj0p-password-reset
CU862j2cj0p Password Reset via Email
- Loading branch information
Showing
11 changed files
with
86 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,9 @@ RESUBMIT_ALL_ON_STARTUP=1 | |
|
||
# Front end env vars | ||
LOAD_NUM_DOC_PAGES=10 | ||
|
||
# SMTP email settings - when settings are configured go to webapp/frontend/.env and set VITE_APP_EMAIL to 1 | ||
[email protected] | ||
EMAIL_PASS="to be changed" | ||
EMAIL_HOST=mail.cogstack.org | ||
EMAIL_PORT=465 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,8 @@ RESUBMIT_ALL_ON_STARTUP=1 | |
# Front end env vars | ||
LOAD_NUM_DOC_PAGES=10 | ||
|
||
# SMTP EMAIL SETTINGS | ||
[email protected] | ||
EMAIL_PASS="to be changed" | ||
EMAIL_HOST=mail.cogstack.org | ||
EMAIL_PORT=465 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_APP_EMAIL=0 # Set to 1 when email settings are correctly configured |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% autoescape off %} | ||
You’re receiving this email because you requested a password reset for your user account | ||
with MedCATTrainer at {{ site_name }}. | ||
|
||
Please go to the following page and choose a new password: | ||
|
||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %} | ||
|
||
Your username, in case you've forgotten: {{ user.username }}. | ||
|
||
If clicking the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead. | ||
|
||
Sincerely, | ||
|
||
The Cogstack Team | ||
{% endautoescape %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MedCATtrainer: Password Reset |