diff --git a/ui/src/components/auth/SignInForm.tsx b/ui/src/components/auth/SignInForm.tsx index d1fdb957..10b2ff94 100644 --- a/ui/src/components/auth/SignInForm.tsx +++ b/ui/src/components/auth/SignInForm.tsx @@ -139,7 +139,7 @@ export default function SignInForm({ onSubmit, errors }: SignInFormProps) { } const errorCodeToMessage = (error: string) => { - if (error === "Authentication failed") { + if (error === "invalid_credentials") { return "Your email and password didn't match our records. Please try again."; } else if (error) { return `An error occurred: ${error}. Please try again and let us know if this keeps happening.`;