diff --git a/changelog.md b/changelog.md index a39376102a..654b79e437 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 5.6.4 - 2021-11-13 + +### Fixed +- [Issue 5276](https://github.com/firefly-iii/firefly-iii/issues/5276) Sloppy release, this fixes an issue with logging out. + ## 5.6.3 - 2021-11-12 ### Changed diff --git a/config/firefly.php b/config/firefly.php index 84b71ad0e6..85f81f924e 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -101,7 +101,7 @@ return [ 'webhooks' => true, 'handle_debts' => true, ], - 'version' => '5.6.3', + 'version' => '5.6.4', 'api_version' => '1.5.4', 'db_version' => 18, diff --git a/public/v1/js/ff/firefly.js b/public/v1/js/ff/firefly.js index fe919d3dc8..91ee63eaeb 100644 --- a/public/v1/js/ff/firefly.js +++ b/public/v1/js/ff/firefly.js @@ -25,6 +25,13 @@ $(function () { configAccounting(currencySymbol); + // on submit of logout button: + $('.logout-link').click(function(e) { + e.preventDefault(); + document.getElementById('logout-form').submit(); + return false; + }); + // on submit of form, disable any button in form: $('form.form-horizontal:not(.nodisablebutton)').on('submit', function () { $('button[type="submit"]').prop('disabled', true); diff --git a/resources/views/v1/layout/default.twig b/resources/views/v1/layout/default.twig index cf02557e28..254e6f207f 100644 --- a/resources/views/v1/layout/default.twig +++ b/resources/views/v1/layout/default.twig @@ -239,6 +239,9 @@ ); } +