diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-09-02 15:47:02 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-09-02 15:47:02 -0400 |
commit | e63aced91aad5875acfd1ec6ec7a0901e6f09eac (patch) | |
tree | d39e36f332df4350b372e72a25bf5a1f5d857ae0 /web | |
parent | c7cafb6ac7404b62f38b48d3ec5782863abf203a (diff) | |
download | chat-e63aced91aad5875acfd1ec6ec7a0901e6f09eac.tar.gz chat-e63aced91aad5875acfd1ec6ec7a0901e6f09eac.tar.bz2 chat-e63aced91aad5875acfd1ec6ec7a0901e6f09eac.zip |
Fix data not being passed into login success function.
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/team_signup_password_page.jsx | 2 |
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 f36ec1119..4088c7cef 100644 --- a/web/react/components/team_signup_password_page.jsx +++ b/web/react/components/team_signup_password_page.jsx @@ -42,7 +42,7 @@ export default class TeamSignupPasswordPage extends React.Component { var props = this.props; Client.loginByEmail(teamSignup.team.name, teamSignup.team.email, teamSignup.user.password, - function loginSuccess() { + function loginSuccess(data) { UserStore.setLastEmail(teamSignup.team.email); UserStore.setCurrentUser(data); if (this.props.hash > 0) { |