diff options
author | LarsVomMars | 2020-11-11 14:28:32 +0100 |
---|---|---|
committer | LarsVomMars | 2020-11-11 14:28:32 +0100 |
commit | d025305d6ce011c01880c647a02e4063ddd6bbae (patch) | |
tree | f5ba53a9809f3dd88a5bc98406eb78666d2a4308 | |
parent | 1f5fbac8fb0a75be7bde33c50818452d91fe781c (diff) |
Password change minlength -> reduce frontend error
-rw-r--r-- | auth/public/change.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/auth/public/change.html b/auth/public/change.html index 7e55391..f703649 100644 --- a/auth/public/change.html +++ b/auth/public/change.html @@ -24,9 +24,23 @@ <label for="old-password">Altes Passwort</label> <input name="oldPassword" type="password" id="old-password" placeholder="Passwort" required /> <label for="password">Neues Passwort</label> - <input name="newPassword" type="password" id="password" placeholder="Neues Passwort" required /> + <input + name="newPassword" + type="password" + id="password" + placeholder="Neues Passwort" + minlength="8" + required + /> <label for="new-password">Neues Passwort (wiederholt)</label> - <input name="newPasswordRep" type="password" id="new-password" placeholder="Neues Passwort" required /> + <input + name="newPasswordRep" + type="password" + id="new-password" + placeholder="Neues Passwort" + minlength="8" + required + /> <button type="submit" class="pure-button pure-button-primary">Anmelden</button> </fieldset> </form> |