mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
AC-756 Removed required on password field when in 'edit' mode. When editing an existing user all fields can now be changed without re-entering a password. However, if the password field is touched, then a strong password is required and a valid match must be supplied. Fixed the Reset button. Now if changing existing record, touch password, click reset, and all password, password match, and the strength progress bar are all reset.
This commit is contained in:
@@ -70,7 +70,8 @@ angular.module('UserFormDefinition', [])
|
||||
label: 'Password',
|
||||
type: 'password',
|
||||
ngShow: 'ldap_user == false',
|
||||
awRequiredWhen: { variable: "not_ldap_user", init: true },
|
||||
addRequired: true,
|
||||
editRequired: false,
|
||||
ngChange: "clearPWConfirm('password_confirm')",
|
||||
autocomplete: false,
|
||||
chkPass: true
|
||||
|
||||
Reference in New Issue
Block a user