From ac494a2da52a06e7cbab2f039b20e52424bea510 Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Thu, 8 Mar 2012 16:23:23 -0700 Subject: [PATCH] 'this is not me' in the dialog logs you out everywhere instantly --- resources/static/shared/user.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/static/shared/user.js b/resources/static/shared/user.js index 2c2102cb0..b7351d2f9 100644 --- a/resources/static/shared/user.js +++ b/resources/static/shared/user.js @@ -626,6 +626,10 @@ BrowserID.User = (function() { * @param {function} [onFailure] - called on error. */ logoutUser: function(onComplete, onFailure) { + // logout of all websites + storage.logoutEverywhere(); + + // log out of browserid network.logout(function() { setAuthenticationStatus(false); if (onComplete) { -- GitLab