[BUGFIX] Fix wrong logout URL in LoginRefresh dialog 15/44015/2
authorMarkus Klein <markus.klein@typo3.org>
Mon, 12 Oct 2015 15:55:41 +0000 (17:55 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 12 Oct 2015 20:08:49 +0000 (22:08 +0200)
Resolves: #70631
Releases: master
Change-Id: I84b1e0e0aad65a2c97b3a4b435d09fbcf96a2af6
Reviewed-on: http://review.typo3.org/44015
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Josef Glatz <jousch@gmail.com>
Tested-by: Josef Glatz <jousch@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js

index 889d89e..d31c17c 100644 (file)
@@ -105,7 +105,7 @@ define(['jquery', 'bootstrap'], function($) {
                );
                LoginRefresh.$timeoutModal.find('.modal-footer').append(
                        $('<button />', {class: 'btn btn-default', 'data-action': 'logout'}).text(TYPO3.LLL.core.refresh_login_logout_button).on('click', function() {
-                               top.location.href = TYPO3.configuration.siteUrl + LoginRefresh.logoutUrl;
+                               top.location.href = LoginRefresh.logoutUrl;
                        }),
                        $('<button />', {class: 'btn btn-primary t3js-active', 'data-action': 'refreshSession'}).text(TYPO3.LLL.core.refresh_login_refresh_button).on('click', function() {
                                $.ajax({