Commit cd8d31b7 by Waheed Ahmed Committed by GitHub

Merge pull request #15761 from edx/waheed/LEARNER-1209-fix-login-page-password-restriction

Fix login page password min length restriction.
parents 4f5b033c e29c3fde
...@@ -609,7 +609,6 @@ class LoginSessionViewTest(UserAPITestCase): ...@@ -609,7 +609,6 @@ class LoginSessionViewTest(UserAPITestCase):
"placeholder": "", "placeholder": "",
"instructions": "", "instructions": "",
"restrictions": { "restrictions": {
"min_length": PASSWORD_MIN_LENGTH,
"max_length": PASSWORD_MAX_LENGTH "max_length": PASSWORD_MAX_LENGTH
}, },
"errorMessages": {}, "errorMessages": {},
......
...@@ -98,7 +98,6 @@ class LoginSessionView(APIView): ...@@ -98,7 +98,6 @@ class LoginSessionView(APIView):
label=password_label, label=password_label,
field_type="password", field_type="password",
restrictions={ restrictions={
"min_length": accounts.PASSWORD_MIN_LENGTH,
"max_length": accounts.PASSWORD_MAX_LENGTH, "max_length": accounts.PASSWORD_MAX_LENGTH,
} }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment