Improve email verification flow and error handling

- Send verification email before creating user to prevent orphaned accounts
- Detect SMTP authentication errors and fail fast without retries
- Add field-level validation errors for better frontend UX
- Configure docker-compose with explicit environment variables
- Document dollar sign escaping in .env.example (use $$)
- Implement welcome email on successful verification
- Clean up unnecessary comments
This commit is contained in:
2025-11-28 11:32:51 +01:00
parent 00f6b51228
commit f37c1ac19b
24 changed files with 850 additions and 78 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
package constants
const (
AppName = "Apocapoc"
AppURL = "https://apocapoc.app"
DefaultFrom = "noreply@apocapoc.app"
AppName = "Apocapoc"
)