changeset 401:746d8c9c35f4

fix: fixed broken validation Rule for passwords was wrong
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 14 Aug 2018 14:45:34 +0200
parents cb233a5a2ecd
children 20d2edbc863d
files client/src/components/Userdetail.vue
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Userdetail.vue	Tue Aug 14 14:21:07 2018 +0200
+++ b/client/src/components/Userdetail.vue	Tue Aug 14 14:45:34 2018 +0200
@@ -153,7 +153,8 @@
         isEmailValid(this.currentUser.email) &&
         this.currentUser.country &&
         this.password === this.passwordre &&
-        (this.password === "" || violatedPasswordRules(this.password));
+        (this.password === "" || !violatedPasswordRules(this.password));
+      debugger;
       return valid;
     }
   },