forked from p15670423/monkey
UI: Fix brief red alert on register.
This commit is contained in:
parent
72f77b7d29
commit
62024ae051
|
@ -39,11 +39,12 @@ class RegisterPageComponent extends React.Component {
|
|||
this.auth.attemptNoAuthLogin().then(() => {
|
||||
this.redirectToHome();
|
||||
});
|
||||
} else {
|
||||
this.setState({
|
||||
failed: true,
|
||||
error: res['error']
|
||||
});
|
||||
}
|
||||
this.setState({
|
||||
failed: true,
|
||||
error: res['error']
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue