summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-12-14 15:21:22 -0800
committer=Corey Hulen <corey@hulen.com>2015-12-14 15:21:22 -0800
commitb94d025da44aeebd9651f46cfc4fe367cdd56a87 (patch)
treec1a140d81eca5d9514a047db540adda0a6b45b11 /web/react/utils
parentf5ec973cba4c224de5ba75b56aad447f715b9d6b (diff)
downloadchat-b94d025da44aeebd9651f46cfc4fe367cdd56a87.tar.gz
chat-b94d025da44aeebd9651f46cfc4fe367cdd56a87.tar.bz2
chat-b94d025da44aeebd9651f46cfc4fe367cdd56a87.zip
PLT-1404 signal login to other tags
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/client.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index 5d02a8c88..beabf5227 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -246,6 +246,7 @@ export function loginByEmail(name, email, password, success, error) {
data: JSON.stringify({name: name, email: email, password: password}),
success: function onSuccess(data, textStatus, xhr) {
track('api', 'api_users_login_success', data.team_id, 'email', data.email);
+ BrowserStore.signalLogin();
success(data, textStatus, xhr);
},
error: function onError(xhr, status, err) {