Skip to content

Commit

Permalink
PAS-455 | Fix magic links for self-hosted instances (#612)
Browse files Browse the repository at this point in the history
Collaborated with @jrmccannon
  • Loading branch information
jonashendrickx authored Jun 12, 2024
1 parent 4e8eb5c commit 2fbab91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions self-host/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2fbab91

Please sign in to comment.