Свойство | Тип | Описание | |
---|---|---|---|
$new_password | string | ||
$new_password_confirm | |||
$user |
Метод | Описание | |
---|---|---|
attributeLabels ( ) | ||
changePassword ( ) : boolean | Logs in a user using the provided username and password. | |
rules ( ) | ||
scenarios ( ) | ||
validateNewPassword ( string $attribute, array $params ) | Validates the password. |
public changePassword ( ) : boolean | ||
Результат | boolean | whether the user is logged in successfully |
public validateNewPassword ( string $attribute, array $params ) | ||
$attribute | string | the attribute currently being validated |
$params | array | the additional name-value pairs given in the rule |