Disable magic link #3333
Answered
by
nullsumme
nullsumme
asked this question in
Self Hosting
Disable magic link
#3333
-
Hey, I've got a setup running with OIDC auth. Ist there any way to disable the magic link auth? Its enabled an I can't disable it. |
Beta Was this translation helpful? Give feedback.
Answered by
nullsumme
Apr 4, 2022
Replies: 1 comment 1 reply
-
Okay. I pretty sure that's a bug. Maybe the double negation is wrong? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tommoor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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",