Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't allow users to set passwords that are invalid for login #78

Open
mattcen opened this issue Jul 15, 2022 · 0 comments
Open

Don't allow users to set passwords that are invalid for login #78

mattcen opened this issue Jul 15, 2022 · 0 comments

Comments

@mattcen
Copy link

mattcen commented Jul 15, 2022

The below code:

<td><input type="password" name="password1" value=""></td>
</tr>
<tr>
<td>Confirm Password</td>
<td><input type="password" name="password2" value=""></td>

Allows a user to set a password longer than 32 characters.

But the below code:

<span><input type="password" id="password" name="password" maxlength="32"></span>

Requires the password on the login form to be a max of 32 characters.

I have tested (accidentally) that I can set a 36-character password successfully, but then fail to log in with it due to the char limit of the HTML field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant