fix(auth): change sign-up success toast to neutral email check message

Replace RegisteredSuccessfully with CheckYourEmail to avoid confusing UX when duplicate registration occurs

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
nxtkofi 2026-05-02 15:34:10 +02:00
parent d0c3649cf3
commit b2652db613
3 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
"HidePasswordTooltip": "Hide password",
"ShowPasswordTooltip": "Show password",
"Submit": "Submit",
"RegisteredSuccessfully": "Registered successfully",
"CheckYourEmail": "Check your email to complete the process.",
"ForgotPasswordLink": "Forgot password?",
"ForgotPasswordTitle": "Forgot password",
"SendResetLink": "Send reset link",

View file

@ -16,7 +16,7 @@
"HidePasswordTooltip": "Ukryj hasło",
"ShowPasswordTooltip": "Pokaż hasło",
"Submit": "Wyślij",
"RegisteredSuccessfully": "Zarejestrowano pomyślnie",
"CheckYourEmail": "Sprawdź email, aby dokończyć proces.",
"ForgotPasswordLink": "Nie pamiętasz hasła?",
"ForgotPasswordTitle": "Nie pamiętasz hasła",
"SendResetLink": "Wyślij link resetujący",

View file

@ -91,7 +91,7 @@ export function AuthForm({ mode, redirectPath = '/dashboard' }: AuthFormProps) {
if (result.error) {
toast(result.error.message);
} else {
toast(t('RegisteredSuccessfully'));
toast(t('CheckYourEmail'));
}
} else {
const result = await authClient.signIn.email({