confirmEmail.php 398 B

1234567891011121314151617
  1. <?php
  2. use yii\helpers\Html;
  3. /**
  4. * @var yii\web\View $this
  5. * @var common\models\User $user
  6. */
  7. $confirmationLink = Yii::$app->urlManager->createAbsoluteUrl(['site/confirm-email', 'token' => $user->email_confirmation_token]);
  8. ?>
  9. Hello <?= Html::encode($user->username) ?>,
  10. Follow the link below to complete your registration:
  11. <?= Html::a(Html::encode($confirmationLink), $confirmationLink) ?>