Add setting to control the referrer origin (#34731)
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
as: :boolean,
|
||||
wrapper: :with_label
|
||||
|
||||
%h4= t('admin.settings.discovery.privacy')
|
||||
|
||||
.fields-group
|
||||
= f.input :noindex,
|
||||
as: :boolean,
|
||||
@@ -42,6 +44,13 @@
|
||||
label: t('admin.settings.default_noindex.title'),
|
||||
wrapper: :with_label
|
||||
|
||||
.fields-group
|
||||
= f.input :allow_referrer_origin,
|
||||
as: :boolean,
|
||||
hint: t('admin.settings.allow_referrer_origin.desc'),
|
||||
label: t('admin.settings.allow_referrer_origin.title'),
|
||||
wrapper: :with_label
|
||||
|
||||
%h4= t('admin.settings.discovery.publish_statistics')
|
||||
|
||||
.fields-group
|
||||
@@ -50,8 +59,6 @@
|
||||
wrapper: :with_label,
|
||||
recommended: :recommended
|
||||
|
||||
%h4= t('admin.settings.discovery.publish_discovered_servers')
|
||||
|
||||
.fields-group
|
||||
= f.input :peers_api_enabled,
|
||||
as: :boolean,
|
||||
|
||||
Reference in New Issue
Block a user