PasswordAction
class PasswordAction
Constants
| PASSWORD_FIELD |
|
| PASSWORD_CONFIRM_FIELD |
|
| PASSWORD_CHECK_FIELD |
|
Properties
| AdministrationController | $mod |
Methods
Adds password and password repeat fields to the given $form. $user has to be set, if this password field is for an existing user.
Checks the password strength for the previously generated password fields in addPasswordChangeFieldsToForm() or getPasswordChangeFdl()
Generates the FDL for the password and password repeat fields for a $user
Checks the password strength for the give passwords based on config settings
Details
at line 31
Form
addPasswordChangeFieldsToForm(Form $form, User|null $user = null)
Adds password and password repeat fields to the given $form. $user has to be set, if this password field is for an existing user.
at line 100
array
checkPasswordStrengthInForm(Form $form)
Checks the password strength for the previously generated password fields in addPasswordChangeFieldsToForm() or getPasswordChangeFdl()
at line 46
array
getPasswordChangeFdl(User|null $user)
Generates the FDL for the password and password repeat fields for a $user
at line 115
array
validatePasswordStrength(string $password, string $password_confirm)
Checks the password strength for the give passwords based on config settings