17 lines
431 B
PHP
17 lines
431 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
|
|
/** @var yii\web\View $this */
|
|
/** @var common\models\User $user */
|
|
|
|
$verifyLink = Yii::$app->urlManager->createAbsoluteUrl(['site/verify-email', 'token' => $user->verification_token]);
|
|
?>
|
|
<div class="verify-email">
|
|
<p>Hello <?= Html::encode($user->username) ?>,</p>
|
|
|
|
<p>Follow the link below to verify your email:</p>
|
|
|
|
<p><?= Html::a(Html::encode($verifyLink), $verifyLink) ?></p>
|
|
</div>
|