frontend/mail/passwordResetToken.php
<?php
/*
* This file is part of the HomeFinanceV2 project.
*
* (c) Rafalsky.com <http://github.com/Rafalsky/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $user common\models\User */
/* @var $token string */
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['/user/sign-in/reset-password', 'token' => $token]);
?>
Hello <?= Html::encode($user->username); ?>,
Follow the link below to reset your password:
<?= Html::a(Html::encode($resetLink), $resetLink); ?>