You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/06 13:24:11 UTC
[brooklyn-ui] 05/05: minor tidy to #282
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
commit 711ef04421380a2118dd2d2a184b357e43561957
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Mon Sep 6 14:23:55 2021 +0100
minor tidy to #282
---
ui-modules/logout/app/views/main/main.controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui-modules/logout/app/views/main/main.controller.js b/ui-modules/logout/app/views/main/main.controller.js
index 15b968e..981923a 100644
--- a/ui-modules/logout/app/views/main/main.controller.js
+++ b/ui-modules/logout/app/views/main/main.controller.js
@@ -81,7 +81,7 @@ export function mainStateController($scope, $http, $state, $stateParams, $log, $
if (ua.indexOf('MSIE ') >= 0 || ua.indexOf(' Edge/') >= 0 || ua.indexOf(' Trident/') >= 0) {
document.execCommand('ClearAuthenticationCache', 'false');
} else if (ua.indexOf('Mozilla') >= 0) {
- console.log('logging out')
+ // this forces the page cache to be cleared so page will be re-requested (but it doesn't clear basic auth cache)
$http({
method: 'GET',
url: '/',