Fix: "Back to home" button in registration broken with user approvals and guest mode activated

This commit is contained in:
Lucas Bartholemy 2019-02-07 12:41:29 +01:00
parent 14c56c8131
commit 749c424129
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ HumHub Change Log
- Fix: Removed database charset configuration in dynamic config
- Fix: User soft deletion membership cache overwrite
- Fix #3422 Stream suppressed loading logic loads unnecessary stream entries
- Fix: "Back to home" button in registration broken with user approvals and guest mode activated
1.3.8 (December 10, 2018)

View File

@ -17,12 +17,12 @@ $this->pageTitle = Yii::t('UserModule.views_auth_createAccount', 'Create Account
<?php if ($needApproval) : ?>
<p><?php echo Yii::t('UserModule.views_auth_createAccount_success', 'After activating your account by the administrator, you will receive a notification by email.'); ?></p>
<br/>
<a href="<?php echo Url::home() ?>" class="btn btn-primary" data-ui-loader><?php echo Yii::t('UserModule.views_auth_createAccount_success', 'back to home') ?></a>
<a href="<?php echo Url::home() ?>" class="btn btn-primary" data-ui-loader data-pjax-prevent><?php echo Yii::t('UserModule.views_auth_createAccount_success', 'back to home') ?></a>
<?php else: ?>
<p><?php echo Yii::t('UserModule.views_auth_createAccount_success', 'To log in with your new account, click the button below.'); ?></p>
<br/>
<a href="<?php echo Url::home() ?>"
class="btn btn-primary" data-ui-loader><?php echo Yii::t('UserModule.views_auth_createAccount_success', 'Go to login page') ?></a>
class="btn btn-primary" data-ui-loader data-pjax-prevent><?php echo Yii::t('UserModule.views_auth_createAccount_success', 'Go to login page') ?></a>
<?php endif; ?>
</div>
</div>