Blame view

frontend/mail/views/user/passwordResetToken-text.php 491 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php
  use yii\helpers\{
      Url, Html
  };
  
  //TODO 1: Разобраться с почтовыми сообщениями.
  
  /* @var $this yii\web\View */
  /* @var $user \thread\modules\user\models\User */
  
  $resetLink = Url::toRoute(['/user/password/reset', 'token' => $user->password_reset_token], true);
  echo Yii::t('front', 'Hello')
      . ' '
      . Html::encode($user->email) . ', '.'<br>'
      . Yii::t('front', 'Follow the link below to reset your password')
      . ': ' .'<br>'. $resetLink;