mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 16:29:40 +02:00
✨ feat(auth): add resend verification email to registration screen
- Add prominent email verification success UI with resend button - Show resend verification option when registration fails with "not verified" error - Improve form spacing with space-y-4 for better visual consistency - Add translations for resend verification in all languages (de, en, fr, it, es) - Update all 13 app register pages to pass onResendVerification prop Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1c6505890d
commit
d703ccfd80
20 changed files with 236 additions and 18 deletions
|
|
@ -24,6 +24,10 @@
|
|||
async function handleSignUp(email: string, password: string) {
|
||||
return authStore.signUp(email, password);
|
||||
}
|
||||
|
||||
async function handleResendVerification(email: string) {
|
||||
return authStore.resendVerificationEmail(email);
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
|
@ -35,6 +39,7 @@
|
|||
logo={SkillTreeLogo}
|
||||
primaryColor="#10b981"
|
||||
onSignUp={handleSignUp}
|
||||
onResendVerification={handleResendVerification}
|
||||
{goto}
|
||||
successRedirect={redirectTo}
|
||||
loginPath="/login"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue