mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +00:00
Merge pull request #1305 from ayan4m1/feature/login-error
Fix infinite spinner for login that results in failure
This commit is contained in:
commit
1242d8d426
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ export class Login extends Component<any, State> {
|
|||
toast(i18n.t("enter_two_factor_code"), "info");
|
||||
}
|
||||
|
||||
i.setState({ loginRes: { state: "empty" } });
|
||||
i.setState({ loginRes: { state: "failed", msg: loginRes.msg } });
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue