mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
Pass new title option
This commit is contained in:
@@ -68,9 +68,10 @@ class GeneralSettings extends React.Component<Props> {
|
||||
</div>
|
||||
<div className="column is-half">
|
||||
<Checkbox
|
||||
checked={enabledXsrfProtection}
|
||||
label={t("general-settings.enabled-xsrf-protection")}
|
||||
onChange={this.handleEnabledXsrfProtectionChange}
|
||||
checked={enabledXsrfProtection}
|
||||
title={t("general-settings.enabled-xsrf-protection")}
|
||||
disabled={!hasUpdatePermission}
|
||||
helpText={t("help.enableXsrfProtectionHelpText")}
|
||||
/>
|
||||
@@ -88,9 +89,10 @@ class GeneralSettings extends React.Component<Props> {
|
||||
</div>
|
||||
<div className="column is-half">
|
||||
<Checkbox
|
||||
checked={anonymousAccessEnabled}
|
||||
label={t("general-settings.anonymous-access-enabled")}
|
||||
onChange={this.handleEnableAnonymousAccess}
|
||||
checked={anonymousAccessEnabled}
|
||||
title={t("general-settings.anonymous-access-enabled")}
|
||||
disabled={!hasUpdatePermission}
|
||||
helpText={t("help.allowAnonymousAccessHelpText")}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user