Initial commit,修正
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
use yii\helpers\Html;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $user common\models\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>
|
||||
Reference in New Issue
Block a user