summaryrefslogtreecommitdiffstats
path: root/webapp/components/login/login_controller.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-05-09 16:00:40 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-05-09 16:00:40 -0400
commit0c701cc1d02c3d3b630050a0547f9dc632596013 (patch)
treeb26324ebe2457d5cc8f8547513c053add166fc3c /webapp/components/login/login_controller.jsx
parente52ab9737ed4043b5c6236561939d50a8588b349 (diff)
downloadchat-0c701cc1d02c3d3b630050a0547f9dc632596013.tar.gz
chat-0c701cc1d02c3d3b630050a0547f9dc632596013.tar.bz2
chat-0c701cc1d02c3d3b630050a0547f9dc632596013.zip
PLT-6518 Fixed user's locale not being loaded with redux actions (#6359)
* Stopped ManageLanguages component from mutating user * Removed obsolete reference to mm_user * PLT-6518 Fixed user's locale not being loaded with redux actions
Diffstat (limited to 'webapp/components/login/login_controller.jsx')
-rw-r--r--webapp/components/login/login_controller.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/login/login_controller.jsx b/webapp/components/login/login_controller.jsx
index fa3412f34..04ba46896 100644
--- a/webapp/components/login/login_controller.jsx
+++ b/webapp/components/login/login_controller.jsx
@@ -210,7 +210,7 @@ export default class LoginController extends React.Component {
finishSignin(team) {
const query = this.props.location.query;
- GlobalActions.loadDefaultLocale();
+ GlobalActions.loadCurrentLocale();
if (query.redirect_to) {
browserHistory.push(query.redirect_to);
} else if (team) {