mirror of
https://github.com/elyby/accounts.git
synced 2024-11-06 08:11:24 +05:30
16 lines
433 B
PHP
16 lines
433 B
PHP
<?php
|
|
use yii\helpers\Html;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $user common\models\Account */
|
|
|
|
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
|
|
?>
|
|
<div class="password-reset">
|
|
<p>Hello <?= Html::encode($user->email) ?>,</p>
|
|
|
|
<p>Follow the link below to reset your password:</p>
|
|
|
|
<p><?= Html::a(Html::encode($resetLink), $resetLink) ?></p>
|
|
</div>
|