Fix data not being passed into login success function.

Этот коммит содержится в:
JoramWilander
2015-09-02 15:47:02 -04:00
родитель c7cafb6ac7
Коммит e63aced91a

Просмотреть файл

@@ -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) {