0
0

passwordResetToken-html.php 433 B

123456789101112131415
  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this yii\web\View */
  4. /* @var $user common\models\User */
  5. $resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
  6. ?>
  7. <div class="password-reset">
  8. <p>Hello <?= Html::encode($user->username) ?>,</p>
  9. <p>Follow the link below to reset your password:</p>
  10. <p><?= Html::a(Html::encode($resetLink), $resetLink) ?></p>
  11. </div>