* Added toast prompts
* Using generic message instead.
---------
Co-authored-by: Jacob Rosenzweig <rosenjcb@Jacobs-MacBook-Pro.local>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
i.setState({ showTotp: true });
toast(I18NextService.i18n.t("enter_two_factor_code"), "info");
}
+ if (loginRes.msg === "incorrect_login") {
+ toast(I18NextService.i18n.t("incorrect_login"), "danger");
+ }
i.setState({ loginRes: { state: "failed", msg: loginRes.msg } });
break;