Код: Выделить всё
switch (e.code) {
case "invalid-email":
await showErrorDialog(context,"The entered e-mail format is invalid");// The email id is not in email format
break;
case "user-not-found":
await showErrorDialog(context,"The user is not registered");// The user is a new user/not already registered
break;
case "wrong-password":
await showErrorDialog(context,"wrong password"); // The entered password is wrong
break;
case "invalid-credential":
await showErrorDialog(context,"Invalid username-password combination. Try checking again and enter valid username password info"); // If the entered pair is not available
break;
default:
devtools.log("No errors");
}
Но если я введу формат электронной почты как неправильный, например, «grggvjhj». />
[*]
Код: Выделить всё
invalid-emailКод: Выделить всё
user-not-foundhttps://stackoverflow.com/questions/774 ... ageобразно>
Подробнее здесь: https://stackoverflow.com/questions/782 ... ord-errors
Мобильная версия