Skip to content

Disable magic link #3333

Apr 4, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Okay. I pretty sure that's a bug.
If I set "SMTP_HOST=something" I can disable it. If SMTP_HOST is not set, it is enabled by default and I can't disable it.

Maybe the double negation is wrong?
env.ts:
EMAIL_ENABLED: !!env.SMTP_HOST || env.NODE_ENV === "development",

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tommoor
Comment options

Answer selected by tommoor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants