summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_signup_password_page.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/team_signup_password_page.jsx')
-rw-r--r--web/react/components/team_signup_password_page.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/team_signup_password_page.jsx b/web/react/components/team_signup_password_page.jsx
index 6b21915f6..18cf05dad 100644
--- a/web/react/components/team_signup_password_page.jsx
+++ b/web/react/components/team_signup_password_page.jsx
@@ -41,7 +41,7 @@ module.exports = React.createClass({
client.loginByEmail(teamSignup.team.name, teamSignup.team.email, teamSignup.user.password,
function(data) {
UserStore.setLastEmail(teamSignup.team.email);
- UserStore.setCurrentUser(teamSignup.user);
+ UserStore.setCurrentUser(data);
if (this.props.hash > 0) {
BrowserStore.setGlobalItem(this.props.hash, JSON.stringify({wizard: 'finished'}));
}