Fix orphaned password verification error

This commit is contained in:
gpt-engineer-app[bot]
2025-10-14 15:50:45 +00:00
parent 71991f267b
commit 1f206ceecf
3 changed files with 48 additions and 16 deletions

View File

@@ -192,8 +192,12 @@ export function SecurityTab() {
};
const handleVerificationSuccess = async () => {
await loadIdentities();
sonnerToast.success("Password authentication activated successfully!");
// Don't reload identities immediately - user needs to confirm email first
toast({
title: "Email Confirmation Required",
description: "Check your email and click the confirmation link to activate password authentication.",
duration: 0, // Persistent
});
};
// Get connected accounts with identity data