passwordResetToken.php 368 Bytes
Newer Older
1 2 3 4
<?php
use yii\helpers\Html;

/**
Alexander Makarov committed
5
 * @var yii\web\View $this
6 7 8
 * @var common\models\User $user;
 */

9
$resetLink = Yii::$app->urlManager->createAbsoluteUrl('site/reset-password', ['token' => $user->password_reset_token]);
10 11
?>

12
Hello <?= Html::encode($user->username) ?>,
13 14 15

Follow the link below to reset your password:

16
<?= Html::a(Html::encode($resetLink), $resetLink) ?>