From e63aced91aad5875acfd1ec6ec7a0901e6f09eac Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Wed, 2 Sep 2015 15:47:02 -0400
Subject: Fix data not being passed into login success function.

---
 web/react/components/team_signup_password_page.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/components/team_signup_password_page.jsx')

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) {
-- 
cgit v1.2.3-1-g7c22

