Commit e7ac3673 by Torkel Ödegaard

SignUp: password strength meter updated, Fixes #1892

parent e771d8e9
...@@ -67,7 +67,7 @@ function (angular, config) { ...@@ -67,7 +67,7 @@ function (angular, config) {
$scope.strengthClass = "password-strength-bad"; $scope.strengthClass = "password-strength-bad";
return; return;
} }
if (newValue.length <= 6) { if (newValue.length <= 8) {
$scope.strengthText = "strength: you can do better."; $scope.strengthText = "strength: you can do better.";
$scope.strengthClass = "password-strength-ok"; $scope.strengthClass = "password-strength-ok";
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment