writesdown/app-cms

View on GitHub
common/mail/passwordResetToken-text.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/* @var $this yii\web\View */
/* @var $user common\models\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 ?>