From d186084835d0f8e739a20de21c8dbf297b3db7a3 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 21 Jan 2016 14:47:21 +0100 Subject: [PATCH] Use password regexp instead of min-max to do client side validation also --- webadmin/src/views/account.html | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/webadmin/src/views/account.html b/webadmin/src/views/account.html index f41fde805..a5be6d994 100644 --- a/webadmin/src/views/account.html +++ b/webadmin/src/views/account.html @@ -13,30 +13,24 @@
Invalid pasword A password is required - The password is too short - The password is too long
- +
- {{ passwordchange.error.newPassword }}

- A password is required - The password is too short - The password is too long + {{ passwordchange.error.newPassword }}

+ Password must be 8-30 character with at least one uppercase, one numeric and one special character
- +
-
+
-
+
A password is required - The password is too short - The password is too long - Passwords don't match + Passwords don't match
- +