diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-11-06 10:18:13 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-11-06 10:18:13 -0500 |
commit | 982162ab0df0fc84032d61009b27b92283b1a242 (patch) | |
tree | 5efe0242f0d61f11b4d16718f9cd913db85bcab3 /web/react/utils/client.jsx | |
parent | 51da1b1ca1ff92fcfcdb70c46236f10ee3d20a3f (diff) | |
parent | 17cd95ae054b68a0f6816c6038f67a8901ac94d5 (diff) | |
download | chat-982162ab0df0fc84032d61009b27b92283b1a242.tar.gz chat-982162ab0df0fc84032d61009b27b92283b1a242.tar.bz2 chat-982162ab0df0fc84032d61009b27b92283b1a242.zip |
Merge pull request #1328 from mattermost/PLT-1016
PLT-1016 force logout on other browsers
Diffstat (limited to 'web/react/utils/client.jsx')
-rw-r--r-- | web/react/utils/client.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx index 003e24d33..d27fe16cf 100644 --- a/web/react/utils/client.jsx +++ b/web/react/utils/client.jsx @@ -231,6 +231,7 @@ export function resetPassword(data, success, error) { export function logout() { track('api', 'api_users_logout'); var currentTeamUrl = TeamStore.getCurrentTeamUrl(); + BrowserStore.signalLogout(); BrowserStore.clear(); ErrorStore.storeLastError(null); window.location.href = currentTeamUrl + '/logout'; |