feat: hide 'Don't have an account?' button when register=false query param is set (#26904)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Peer Richelsen
2026-01-15 20:09:34 +00:00
committed by GitHub
co-authored by Devin AI
parent 77c8e34073
commit eb2fedf7de
+1 -1
View File
@@ -186,7 +186,7 @@ export default function Login({
? !totpEmail
? TwoFactorFooter
: ExternalTotpFooter
: process.env.NEXT_PUBLIC_DISABLE_SIGNUP !== "true"
: process.env.NEXT_PUBLIC_DISABLE_SIGNUP !== "true" && searchParams?.get("register") !== "false"
? LoginFooter
: null
}>