yii2-test-1/common/mail/passwordResetToken-text.php

13 lines
295 B
PHP
Raw Normal View History

2023-05-06 20:40:02 +03:00
<?php
/** @var yii\web\View $this */
/** @var common\models\User $user */
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
?>
Hello <?= $user->username ?>,
Follow the link below to reset your password:
<?= $resetLink ?>