aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/src/ts/modals/simple-modals.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/src/ts/modals/simple-modals.ts b/frontend/src/ts/modals/simple-modals.ts
index 952f496c1..9d2a4f23f 100644
--- a/frontend/src/ts/modals/simple-modals.ts
+++ b/frontend/src/ts/modals/simple-modals.ts
@@ -199,6 +199,12 @@ async function reauthenticate(
status: 0,
message: "Incorrect password",
};
+ } else if (typedError.code === "auth/invalid-credential") {
+ return {
+ status: 0,
+ message:
+ "Password is incorrect or your account does not have password authentication enabled.",
+ };
} else {
return {
status: -1,