feat: inline email retry on 550 rejection in tfe access request form

This commit is contained in:
Pontoporeia
2026-04-30 13:52:09 +02:00
parent da53bf5d7a
commit 0f849468f7
4 changed files with 32 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
## Bug fixes
- [x] **smtp-test.php** — wrap `SmtpRelay::send()` in `try/catch SmtpSendException` so SMTP delivery failures (e.g. 550 recipient rejected) surface as a proper flash error instead of an uncaught exception/silent crash
- [x] **partage email retry** — on 550 recipient-rejected, redirect to `/partage/retry-email` instead of `recapitulatif`; student can correct address and resend or skip
- [x] **tfe access form email retry** — on `recipient_rejected` JSON response, highlight email field in red, show corrected error message, let user fix and resubmit inline
- [x] **ThesisCreateController**`confirmation_email` is now optional (empty = skip send)
- [x] **admin/add.php template** — email confirmation field marked optional, label and hint updated