Change student email template to show password and ID.

This commit is contained in:
Hoannhi 2024-07-14 21:30:30 +07:00
parent bf57019fda
commit 66f902b680
3 changed files with 11 additions and 2 deletions

8
.idea/.gitignore generated vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@ -199,6 +199,7 @@ EMAIL_USE_TLS = True
EMAIL_HOST_USER = config("EMAIL_HOST_USER")
EMAIL_HOST_PASSWORD = config("EMAIL_HOST_PASSWORD")
EMAIL_FROM_ADDRESS = config("EMAIL_FROM_ADDRESS")
EMAIL_USE_SSL = False
# crispy config
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"

View File

@ -268,8 +268,8 @@
</p>
<h5>Login credentials for your DJ LMS account:</h5>
<ul>
<li>ID: {user.username}</li>
<li>Your password: {password}</li>
<li>ID: {{ user.username }}</li>
<li>Your password: {{ password }}</li>
</ul>
<p>To secure your account be sure to change your password.</p>
<p>