mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
Fix broken error messages
This commit is contained in:
@ -147,7 +147,7 @@ export function sendCode(captchaType, captchaToken, clientSecret, method, countr
|
||||
Setting.showMessage("success", i18next.t("user:Verification code sent"));
|
||||
return true;
|
||||
} else {
|
||||
Setting.showMessage("error", i18next.t("user:" + res.msg));
|
||||
Setting.showMessage("error", res.msg);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user