You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add schema-driven admin settings for replacing the normal sign-up form with a configurable notice and destination URL while optionally preserving a secondary path to reveal the legacy form. Expose matching public customize fields and render a reusable auth notice on sign-up/sign-in pages.
This keeps the feature disabled by default for on-prem deployments and lets operators configure cocalc.com-specific migration copy from admin settings instead of hardcoding it in the auth pages.
desc: "Replace the normal sign-up form with a configurable notice and link. If legacy account creation is allowed below, users can still reveal the original form.",
457
+
default: "no",
458
+
valid: only_booleans,
459
+
to_val: to_bool,
460
+
show: show_theming_vars,
461
+
tags: ["Theme"],
462
+
},
463
+
account_creation_redirect_message: {
464
+
name: "Account creation redirect message",
465
+
desc: "Markdown notice shown instead of the normal sign-up form when account creation redirect is enabled.",
466
+
default:
467
+
"New accounts should be created on the recommended site. Existing users can still sign in here.",
0 commit comments