mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: add custom error message on signups disabled page (#11959)
This commit is contained in:
@ -303,6 +303,7 @@ type OIDCConfig struct {
|
||||
UserRolesDefault clibase.StringArray `json:"user_roles_default" typescript:",notnull"`
|
||||
SignInText clibase.String `json:"sign_in_text" typescript:",notnull"`
|
||||
IconURL clibase.URL `json:"icon_url" typescript:",notnull"`
|
||||
SignupsDisabledText clibase.String `json:"signups_disabled_text" typescript:",notnull"`
|
||||
}
|
||||
|
||||
type TelemetryConfig struct {
|
||||
@ -1266,6 +1267,15 @@ when required by your organization's security policy.`,
|
||||
Group: &deploymentGroupOIDC,
|
||||
YAML: "iconURL",
|
||||
},
|
||||
{
|
||||
Name: "Signups disabled text",
|
||||
Description: "The custom text to show on the error page informing about disabled OIDC signups. Markdown format is supported.",
|
||||
Flag: "oidc-signups-disabled-text",
|
||||
Env: "CODER_OIDC_SIGNUPS_DISABLED_TEXT",
|
||||
Value: &c.OIDC.SignupsDisabledText,
|
||||
Group: &deploymentGroupOIDC,
|
||||
YAML: "signupsDisabledText",
|
||||
},
|
||||
// Telemetry settings
|
||||
{
|
||||
Name: "Telemetry Enable",
|
||||
|
Reference in New Issue
Block a user