passwordResetToken-text.php 295 B

123456789101112
  1. <?php
  2. /** @var yii\web\View $this */
  3. /** @var common\models\User $user */
  4. $resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
  5. ?>
  6. Hello <?= $user->username ?>,
  7. Follow the link below to reset your password:
  8. <?= $resetLink ?>