new-support.webeffector.ru/common/mail/passwordResetToken-html.php

17 lines
436 B
PHP
Raw Permalink Normal View History

2024-06-13 17:07:58 +03:00
<?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var common\models\User $user */
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
?>
<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>