Fixed password recovery link in welcome mail
And add this new feature to the plain text variant too
This commit is contained in:
@ -30,7 +30,7 @@ use yii\helpers\Url;
|
||||
<?= Yii::t('usuario', 'We have generated a password for you') ?>: <strong><?= $user->password ?></strong>
|
||||
<?php endif ?>
|
||||
<?php if ($module->allowPasswordRecovery): ?>
|
||||
<?= Yii::t('usuario', 'If you haven\'t received a password, you can reset it at') ?>: <strong><?= Html::a(Html::encode(Url::to(['/user/forgot'], true)), Url::to(['/user/forgot'], true)) ?></strong>
|
||||
<?= Yii::t('usuario', 'If you haven\'t received a password, you can reset it at') ?>: <strong><?= Html::a(Html::encode(Url::to(['/user/recovery/request'], true)), Url::to(['/user/recovery/request'], true)) ?></strong>
|
||||
<?php endif ?>
|
||||
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user