forked from p15670423/monkey
Merge pull request #1385 from guardicore/0910/brief-alert-register
Fix brief red alert on register.
This commit is contained in:
commit
8e41634854
|
@ -39,11 +39,12 @@ class RegisterPageComponent extends React.Component {
|
|||
this.auth.attemptNoAuthLogin().then(() => {
|
||||
this.redirectToHome();
|
||||
});
|
||||
}
|
||||
} else {
|
||||
this.setState({
|
||||
failed: true,
|
||||
error: res['error']
|
||||
});
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue