Password limited to 16 characters and several special characters

These limitations are temporary until changes are made to the game.
This commit is contained in:
Alfonso Saavedra "Son Link" 2024-11-07 17:14:32 +01:00
parent 3167b76055
commit 98a0c5472d
No known key found for this signature in database
GPG Key ID: D3594BCF897F74D8
1 changed files with 3 additions and 2 deletions

View File

@ -25,10 +25,11 @@
<span class="input-error">Email address isn't valid</span>
<label>Password:</label>
<input type="password" name="password" id="password" required />
<input type="password" name="password" id="password" pattern="[0-9a-zA-Z_\-\|@\#~\$%\(\)=\^\*\+\[\]\{\}]{6,16}" required />
<span class="input-error">The password must be between 6 and 16 characters long. Only letters, numbers and the following special characters are allowed: |@#~~$%()=^*+[]{}-_</span>
<label>Repeat password:</label>
<input type="password" name="passwordcheck" id="passwordcheck" required />
<input type="password" name="passwordcheck" id="passwordcheck" pattern="[0-9a-zA-Z_\-\|\@\#\~\$\%\(\)=\^\*\+\[\]\{\}]{6,16}" required />
<span class="input-error" id="passwd-error">Passwords don't match</span>
<div class="nation-sel">