Add setting to control the referrer origin (#34731)
This commit is contained in:
parent
8ab2c4a9fc
commit
dbf14784bf
63 changed files with 15 additions and 63 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue