Initial commit,修正
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
use yii\helpers\Html;
|
||||
use yii\helpers\Url;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $user mdm\admin\models\User */
|
||||
|
||||
$resetLink = Url::to(['user/reset-password','token'=>$user->password_reset_token], true);
|
||||
?>
|
||||
<div class="password-reset">
|
||||
<p>Hello <?= Html::encode($user->username) ?>,</p>
|
||||
|
||||
<p>Follow the link below to reset your password:</p>
|
||||
|
||||
<p><?= Html::a(Html::encode($resetLink), $resetLink) ?></p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user