Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logout url #37

Merged
merged 1 commit into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changelog
------------------
- Fix: Allow changing password if required before being able to access the platform
- Fix: French translation for 'I am older than {age} years'
- Enh: Update logout url


1.2.1 (April 13, 2021)
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Legal Tools",
"description": "Adds several editable legal options, like an imprint and a privacy policy.",
"keywords": ["legal"],
"version": "1.2.1",
"version": "1.2.2",
"humhub": {
"minVersion": "1.7"
},
Expand Down
2 changes: 1 addition & 1 deletion views/page/confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<br/>
<div class="form-group">
<?= Html::submitButton('<i class="fa fa-check"></i>&nbsp;&nbsp;' . Yii::t('LegalModule.base', 'Accept'), ['class' => 'btn btn-success', 'data-ui-loader' => '']) ?>
<?= Html::a('<i class="fa fa-sign-out"></i>&nbsp;&nbsp;' . Yii::t('LegalModule.base', 'Logout'), ['/user/auth/logout'], ['class' => 'btn btn-danger pull-right', 'data-ui-loader' => '']) ?>
<?= Html::a('<i class="fa fa-sign-out"></i>&nbsp;&nbsp;' . Yii::t('LegalModule.base', 'Logout'), ['/user/auth/logout'], ['data-method' => 'POST', 'class' => 'btn btn-danger pull-right', 'data-ui-loader' => '']) ?>
</div>

<div class="pull-right">
Expand Down
2 changes: 1 addition & 1 deletion views/page/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<br/>
<div class="form-group">
<?= Html::submitButton('<i class="fa fa-check"></i>&nbsp;&nbsp;' . Yii::t('LegalModule.base', 'Accept'), ['class' => 'btn btn-success', 'data-ui-loader' => '']) ?>
<?= Html::a('<i class="fa fa-sign-out"></i>&nbsp;&nbsp;' . Yii::t('LegalModule.base', 'Logout'), ['/user/auth/logout'], ['class' => 'btn btn-danger pull-right', 'data-ui-loader' => '']) ?>
<?= Html::a('<i class="fa fa-sign-out"></i>&nbsp;&nbsp;' . Yii::t('LegalModule.base', 'Logout'), ['/user/auth/logout'], ['data-method' => 'POST', 'class' => 'btn btn-danger pull-right', 'data-ui-loader' => '']) ?>
</div>

<div class="pull-right">
Expand Down