Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
cd8d31b7
Commit
cd8d31b7
authored
Aug 08, 2017
by
Waheed Ahmed
Committed by
GitHub
Aug 08, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15761 from edx/waheed/LEARNER-1209-fix-login-page-password-restriction
Fix login page password min length restriction.
parents
4f5b033c
e29c3fde
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
openedx/core/djangoapps/user_api/tests/test_views.py
+0
-1
openedx/core/djangoapps/user_api/views.py
+0
-1
No files found.
openedx/core/djangoapps/user_api/tests/test_views.py
View file @
cd8d31b7
...
...
@@ -609,7 +609,6 @@ class LoginSessionViewTest(UserAPITestCase):
"placeholder"
:
""
,
"instructions"
:
""
,
"restrictions"
:
{
"min_length"
:
PASSWORD_MIN_LENGTH
,
"max_length"
:
PASSWORD_MAX_LENGTH
},
"errorMessages"
:
{},
...
...
openedx/core/djangoapps/user_api/views.py
View file @
cd8d31b7
...
...
@@ -98,7 +98,6 @@ class LoginSessionView(APIView):
label
=
password_label
,
field_type
=
"password"
,
restrictions
=
{
"min_length"
:
accounts
.
PASSWORD_MIN_LENGTH
,
"max_length"
:
accounts
.
PASSWORD_MAX_LENGTH
,
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment