Class app\modules\main\models\ForgotForm

Inheritanceapp\modules\main\models\ForgotForm » yii\base\Model

Class ForgotForm

Property Details

$email public property
$email null
$passwordLength public property
$username public property
$username null

Method Details

attributeLabels() public method

void attributeLabels( )
getUser() public method

Finds user by [[username, email]]

app\modules\main\models\User|null getUser( )
resetPassword() public method

string|bool resetPassword( )
return string|bool

генерация пароля пользователя

rules() public method

void rules( )
validateUser() public method

Validates the password.

This method serves as the inline validation for password.

void validateUser( )