summaryrefslogtreecommitdiffstats
path: root/webapp/components/login
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-04-26 09:29:16 -0700
committerChristopher Speller <crspeller@gmail.com>2016-04-26 12:29:16 -0400
commit0879a2317f34a63da8f6e06469f7878e285f0d4d (patch)
tree92d59eb18a6997de0f7d640eaaae67ca7c55b1a5 /webapp/components/login
parent215f78af147350088516a918afb8b84db492787a (diff)
downloadchat-0879a2317f34a63da8f6e06469f7878e285f0d4d.tar.gz
chat-0879a2317f34a63da8f6e06469f7878e285f0d4d.tar.bz2
chat-0879a2317f34a63da8f6e06469f7878e285f0d4d.zip
PLT-2376 fixing login page title (#2785)
Diffstat (limited to 'webapp/components/login')
-rw-r--r--webapp/components/login/login.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/login/login.jsx b/webapp/components/login/login.jsx
index c5955a1f4..f6c02f6a3 100644
--- a/webapp/components/login/login.jsx
+++ b/webapp/components/login/login.jsx
@@ -35,6 +35,8 @@ export default class Login extends React.Component {
this.state = state;
}
componentDidMount() {
+ document.title = global.window.mm_config.SiteName;
+
if (UserStore.getCurrentUser()) {
browserHistory.push('/select_team');
}