From 2fbab9102f7815de8f860fac40be985409d53b76 Mon Sep 17 00:00:00 2001 From: Jonas Hendrickx Date: Wed, 12 Jun 2024 15:43:08 +0200 Subject: [PATCH] PAS-455 | Fix magic links for self-hosted instances (#612) Collaborated with @jrmccannon --- self-host/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/self-host/entrypoint.sh b/self-host/entrypoint.sh index 757d2be1f..7238e14fe 100644 --- a/self-host/entrypoint.sh +++ b/self-host/entrypoint.sh @@ -154,6 +154,9 @@ if [ "$api_key" == "null" ] || [ "$api_secret" == "null" ] || [ "$management_key mv "$mounted_temp" "$mounted_config" fi +# Magic Links +export MagicLinks__NewAccountTimeout="0.00:00:00" + # Configure overrides for the admin console app jq '.ApplicationOverrides.admin.IsRateLimitBypassEnabled = true | .ApplicationOverrides.admin.IsMagicLinkQuotaBypassEnabled = true' \ "$mounted_config" > "$mounted_temp"