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

Fix login page password min length restriction.
This commit is contained in:
Waheed Ahmed
2017-08-08 13:04:41 +05:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -609,7 +609,6 @@ class LoginSessionViewTest(UserAPITestCase):
"placeholder": "",
"instructions": "",
"restrictions": {
"min_length": PASSWORD_MIN_LENGTH,
"max_length": PASSWORD_MAX_LENGTH
},
"errorMessages": {},

View File

@@ -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,
}
)