Skip to content

Commit 97568dc

Browse files
committed
Fix error message
1 parent 13a40d5 commit 97568dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/app/routes/login.magic/route.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ export async function action({ request }: ActionFunctionArgs) {
124124

125125
const errorMessage =
126126
error instanceof MagicLinkRateLimitError
127-
? "Failed sending magic link. Please try again shortly."
128-
: "Too many magic link requests. Please try again shortly.";
127+
? "Too many magic link requests. Please try again shortly."
128+
: "Failed sending magic link. Please try again shortly.";
129129

130130
const session = await getUserSession(request);
131131
session.set("auth:error", {

0 commit comments

Comments
 (0)