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

4 5
/* @var $this yii\web\View */
/* @var $user common\models\User */
6

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

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

Follow the link below to reset your password:

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