-
Notifications
You must be signed in to change notification settings - Fork 552
Closed
Labels
feature-requestRequest a new featureRequest a new featuregood first issueGood for newcomersGood for newcomersmobile clientIssues with AWS Mobile's client-side Cognito wrapperIssues with AWS Mobile's client-side Cognito wrapper
Description
Which AWS Services is the feature request for?
Cognito User Pools with AWSMobileClient DropIn UI
Is your feature request related to a problem? Please describe.
Users have reported difficulty signing up for our app because they receive inaccurate or insufficient feedback from the DropIn UI sign up screen regarding password length requirements.
- Upon entering a 5 character password or less, the UI returns the error: "Sign up failed. Password should have 6 or more characters." However, the User Pool minimum password length is set to 8. Users are incorrectly told the password length is six.
- Users that enter 6 or 7 character passwords, see a dialog "Sign Up failed. Password did not conform with policy. Password not long enough".
Describe the solution you'd like
- When a user enters a password less than the User Pool minimum password length, a dialog should inform them of the password length required by the user pool (not be hardcoded to 6)
- Users should not be told the minimum length is 6 (unless it actually is 6). (remove this validation message)
Here is the code to change:
if (password.length() < 6) {
showError(getString(R.string.password_length_validation_failed));
return;
}
found at
Line 102 in cb623fa
| if (password.length() < 6) { |
s16tom and ronnyroeller
Metadata
Metadata
Assignees
Labels
feature-requestRequest a new featureRequest a new featuregood first issueGood for newcomersGood for newcomersmobile clientIssues with AWS Mobile's client-side Cognito wrapperIssues with AWS Mobile's client-side Cognito wrapper