Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
b258f019
Commit
b258f019
authored
6 years ago
by
Dillon Dumesnil
Browse files
Options
Downloads
Patches
Plain Diff
Fixing location of automatic password reset email
parent
d97e7c73
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openedx/core/djangoapps/password_policy/compliance.py
+4
-3
4 additions, 3 deletions
openedx/core/djangoapps/password_policy/compliance.py
with
4 additions
and
3 deletions
openedx/core/djangoapps/password_policy/compliance.py
+
4
−
3
View file @
b258f019
...
...
@@ -72,8 +72,8 @@ def enforce_compliance_on_login(user, password):
raise
NonCompliantPasswordException
(
_capitalize_first
(
_
(
'
{platform_name} now requires more complex passwords. Your current password does not meet the new
'
'
requirements.
Change your password now using the
"
Forgot password?
"
link below to continue using the
'
'
site.
Thank you for helping us keep your data safe.
'
'
requirements.
A password reset e-mail has been sent to the address associated with this account.
'
'
Thank you for helping us keep your data safe.
'
).
format
(
platform_name
=
settings
.
PLATFORM_NAME
))
...
...
@@ -83,7 +83,8 @@ def enforce_compliance_on_login(user, password):
_capitalize_first
(
_
(
'
{platform_name} now requires more complex passwords. Your current password does not meet the new
'
'
requirements. You must change your password by {deadline} to be able to continue using the site.
'
'
A password reset e-mail has been sent to the address associated with this account.
'
'
To change your password, select the dropdown menu icon next to your username, then select
"
Account
"
.
'
'
You can reset your password from this page. Thank you for helping us keep your data safe.
'
).
format
(
platform_name
=
settings
.
PLATFORM_NAME
,
deadline
=
strftime_localized
(
deadline
,
DEFAULT_SHORT_DATE_FORMAT
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment