PLT-1016 force logout on other browsers

Этот коммит содержится в:
=Corey Hulen
2015-11-05 11:54:40 -08:00
родитель 6418b78f1c
Коммит 5dbefdecfe
3 изменённых файлов: 38 добавлений и 13 удалений

Просмотреть файл

@@ -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';