fix(auth): magic-link email crashes in prod (:noproc), so nobody without OIDC can log in #10
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
config/prod.exs sets
config :swoosh, local: falsebut keeps config.exs'sSwoosh.Adapters.Local, and runtime.exs configures no mailer. Registering (user_live/registration.ex:62) or "email me a link" exits with:noproc; without OIDC nobody can ever log in.Also: the login page shows the dev "/dev/mailbox" banner in prod (user_live/login.ex:31,157) linking to a 404, and the sender is contact@example.com (accounts/user_notifier.ex:13).
Fix:
dev_routesis on.Regression test: Nye's test/audit/prod_mailer_test.exs (proof F1).
Found in the pre-1.0 gap audit of main @
69e09f0.