Commit dee603c72ada6a8e64b1e3ebf39d495b380f3923
1 parent
5e9bf954
restet password mail
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
common/widgets/views/password.php
... | ... | @@ -4,10 +4,10 @@ use yii\helpers\Html; |
4 | 4 | /* @var $this yii\web\View */ |
5 | 5 | /* @var $user common\models\User */ |
6 | 6 | |
7 | -$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]); | |
7 | +$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $params->password_reset_token]); | |
8 | 8 | ?> |
9 | 9 | <div class="password-reset"> |
10 | - <p>Hello <?= Html::encode($user->username) ?>,</p> | |
10 | + <p>Hello <?= Html::encode($params->username) ?>,</p> | |
11 | 11 | |
12 | 12 | <p>Follow the link below to reset your password:</p> |
13 | 13 | ... | ... |