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

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

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:

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