feat: add email verification check to unsubscribe page
Security Enhancement: - Server-side validation of email status before allowing unsubscribe - Only allow unsubscribing from verified emails - Show "Action Not Allowed" message for unverified/unsubscribed emails - Extract and validate share-id on server side - Return 404 for invalid share-ids or missing tenant emails Implementation: - Convert page.tsx to async server component - Fetch location and check tenantEmailStatus - Pass isVerified prop to client component - Add bilingual "not-allowed" translations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -479,6 +479,10 @@
|
||||
"error": {
|
||||
"title": "Odjava Nije Uspjela",
|
||||
"unknown": "Došlo je do greške prilikom odjave. Molimo pokušajte ponovno ili kontaktirajte vašeg vlasnika nekretnine."
|
||||
},
|
||||
"not-allowed": {
|
||||
"title": "Akcija Nije Dopuštena",
|
||||
"message": "Možete se odjaviti samo s potvrđenih email adresa. Ova email adresa još nije potvrđena ili je već odjavljena."
|
||||
}
|
||||
},
|
||||
"privacy-policy-page": {
|
||||
|
||||
Reference in New Issue
Block a user