Hmm... I guess no one really thought about the max length in the form. Even though it can be bypassed by editing the pattern through inspect element, it serves no purpose to do so unless you're trying to be malicious. In the post data, the password should also remove whitespace and trimmed to a maximum 16 characters (server-side).
---
You can restrict the input to a certain amount of characters.
Checking the source, I see they're just giving a minimum length:

- Code: Select all
<input required="" name="password" type="password" pattern=".{6,16}" placeholder="Password" title="At least 6 characters">
<br>
<input required="" name="password2" type="password" pattern=".{6,16}" placeholder="Repeat password" title="Repeat password">
Not really a bug though. Just an issue with determining length even though a password shouldn't have a max length in the first place. It cuts down on how secure a password is after being hashed and stored in the database. Simple change, but also a useful one.