diff --git a/webadmin/src/views/account.html b/webadmin/src/views/account.html index ffe80beac..f41fde805 100644 --- a/webadmin/src/views/account.html +++ b/webadmin/src/views/account.html @@ -68,15 +68,13 @@ -
+
-
- A password is required - The password is too short - The password is too long - Invalid pasword +
+ Password must be 8-30 character with at least one uppercase, one numeric and one special character + Invalid pasword
- +
diff --git a/webadmin/src/views/account.js b/webadmin/src/views/account.js index 9ce7c931d..915f86550 100644 --- a/webadmin/src/views/account.js +++ b/webadmin/src/views/account.js @@ -91,6 +91,7 @@ angular.module('Application').controller('AccountController', ['$scope', '$locat if (error.statusCode === 403) { $scope.emailchange.error.password = true; $scope.emailchange.password = ''; + $scope.emailchange_form.password.$setPristine(); $('#inputEmailChangePassword').focus(); } else { console.error('Unable to change email.', error);