accounts/common/mail/passwordResetToken-text.php

13 lines
293 B
PHP

<?php
/* @var $this yii\web\View */
/* @var $user common\models\Account */
$resetLink = Yii::$app->urlManager->createAbsoluteUrl(['site/reset-password', 'token' => $user->password_reset_token]);
?>
Hello <?= $user->email ?>,
Follow the link below to reset your password:
<?= $resetLink ?>