mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 23:16:01 -03:30
AC-282 added chk-pass directive. Password strength is now checked on Users detail page.
This commit is contained in:
@@ -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?
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user