Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
40b46d04
Commit
40b46d04
authored
6 years ago
by
Bill DeRusha
Browse files
Options
Downloads
Patches
Plain Diff
Update copy for password compliance message to be more clear.
parent
4762f7ce
No related branches found
Branches containing commit
Tags
release-2021-06-30-06.16
Tags containing commit
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 @
40b46d04
...
...
@@ -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
to continue using the site. Thank you for helping us keep
'
'
your data safe.
'
'
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.
'
).
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.
'
'
Thank you for helping us keep your data safe.
'
'
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