@@ -7,7 +7,7 @@ |
||
| 7 | 7 | <?= Yii::t('yuncms', 'Hello') ?>, |
| 8 | 8 | |
| 9 | 9 | <?= Yii::t('yuncms', 'Your account on {0} has been created.', Yii::$app->name) ?>. |
| 10 | -<?php if (Yii::$app->settings->get('enableGeneratingPassword','user')): ?> |
|
| 10 | +<?php if (Yii::$app->settings->get('enableGeneratingPassword', 'user')): ?> |
|
| 11 | 11 | <?= Yii::t('yuncms', 'We have generated a password for you') ?>: |
| 12 | 12 | <?= $user->password ?> |
| 13 | 13 | <?php endif ?> |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"> |
| 15 | 15 | <?= Yii::t('yuncms', 'Your account on {0} has been created.', Yii::$app->name) ?>. |
| 16 | - <?php if ($showPassword || Yii::$app->settings->get('enableGeneratingPassword','user')): ?> |
|
| 16 | + <?php if ($showPassword || Yii::$app->settings->get('enableGeneratingPassword', 'user')): ?> |
|
| 17 | 17 | <?= Yii::t('yuncms', 'We have generated a password for you') ?>: <strong><?= $user->password ?></strong> |
| 18 | 18 | <?php endif ?> |
| 19 | 19 | |