17 lines
427 B
PHP
Executable File
17 lines
427 B
PHP
Executable File
<?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>
|