This commit is contained in:
Manav Rathi
2024-12-17 10:48:01 +05:30
parent b5d274f7ae
commit 1ad7ba82c2

View File

@@ -33,7 +33,7 @@ export const Login: React.FC<LoginProps> = ({ signUp, host }) => {
await sendOTT(email, "login");
} catch (e) {
if (await isSendOTTUserNotRegisteredError(e)) {
setFieldError("No account with the given email exists");
setFieldError("Email not registered");
return;
}
throw e;