From d025305d6ce011c01880c647a02e4063ddd6bbae Mon Sep 17 00:00:00 2001
From: LarsVomMars
Date: Wed, 11 Nov 2020 14:28:32 +0100
Subject: Password change minlength -> reduce frontend error

---
 auth/public/change.html | 18 ++++++++++++++++--
 1 file 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>
-- 
cgit v1.2.3