AC-282 added chk-pass directive. Password strength is now checked on Users detail page.

This commit is contained in:
chouseknecht
2013-09-04 23:18:13 -04:00
parent 7bd3177e0c
commit 8a7193f1e2
5 changed files with 30 additions and 174 deletions

View File

@@ -157,10 +157,6 @@ function UsersAdd ($scope, $rootScope, $compile, $location, $log, $routeParams,
// If password value changes, make sure password_confirm must be re-entered
scope[fld] = '';
scope[form.name + '_form'][fld].$setValidity('awpassmatch', false);
var score = chkPass(scope.password);
//if (score < 67) {
// good stuff happens... maybe this could be handled by a directive?
//}
}
}