mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-10-28 07:41:23 +00:00
fix: skip email verification entirely when no mail transport exists
SMTP-less self-hosted instances still marked every account emailVerified=false and attempted a verification mail that could never arrive. Now: no transport → accounts are created verified, the send is skipped, and existing unverified rows are backfilled on startup. .env.example stops defaulting SMTP_HOST to the dev-only mailpit service. Verified live: fresh signup returns emailVerified=true, legacy unverified users flip on restart, sign-in unaffected. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
14d0762245
commit
7548ea75d4
5 files changed
+50
-15
No files matched your search
@@ -4,6 +4,10 @@ All notable changes to Primora. Format follows [Keep a Changelog](https://keepac
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- **SMTP-less instances no longer involve email at all** — when no mail transport is configured (no Resend key, no `SMTP_HOST`), new accounts are created `emailVerified=true`, the verification send is skipped entirely, and existing unverified users are marked verified on startup. `.env.example` no longer defaults `SMTP_HOST` to the dev-only `mailpit` service, which left production deploys pointing at a transport that does not exist.
|
||||
|
||||
## [0.8.0] - 2026-09-28
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user