mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 18:11:12 -05:00
feat: Implement password reset flow
This commit is contained in:
@@ -147,7 +147,7 @@ function AuthProviderComponent({ children }: { children: React.ReactNode }) {
|
||||
const { toast: sonnerToast } = await import('sonner');
|
||||
|
||||
sonnerToast.warning("Password Activation Pending", {
|
||||
description: "Your password needs email confirmation to be fully activated.",
|
||||
description: "Check your email for a password reset link to complete activation. You'll receive two emails: one from Supabase with the reset link, and one from ThrillWiki with instructions.",
|
||||
duration: Infinity,
|
||||
action: {
|
||||
label: "Resend Email",
|
||||
@@ -155,8 +155,8 @@ function AuthProviderComponent({ children }: { children: React.ReactNode }) {
|
||||
const result = await triggerOrphanedPasswordConfirmation('signin_toast');
|
||||
|
||||
if (result.success) {
|
||||
sonnerToast.success("Confirmation Email Sent!", {
|
||||
description: `Check ${result.email} for the confirmation link.`,
|
||||
sonnerToast.success("Reset Email Sent!", {
|
||||
description: `Check ${result.email} for the password reset link from Supabase.`,
|
||||
duration: 10000,
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user