mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 07:42:41 +00:00
Update AdminSettings, add authorized_fetch setting
This commit is contained in:
parent
ea2a9eb42a
commit
a7b1cc9988
1 changed files with 15 additions and 0 deletions
|
@ -63,6 +63,13 @@
|
|||
@change="handleChange($event, 'features', 'activitypub_enabled')"
|
||||
/>
|
||||
|
||||
<checkbox
|
||||
name="Authorized Fetch Mode"
|
||||
:value="features.authorized_fetch"
|
||||
description="Strictly enforce domain restrictions by enabling Authorized Fetch mode."
|
||||
@change="handleChange($event, 'features', 'authorized_fetch')"
|
||||
/>
|
||||
|
||||
<checkbox
|
||||
name="Account Migration"
|
||||
:value="features.account_migration"
|
||||
|
@ -93,6 +100,13 @@
|
|||
@change="handleChange($event, 'features', 'instagram_import')"
|
||||
/>
|
||||
|
||||
<!-- <checkbox
|
||||
name="Allowlist Mode"
|
||||
:value="features.activitypub_enabled"
|
||||
description="Permit interactions only with instances you specifically authorize, both for sending and receiving."
|
||||
@change="handleChange($event, 'features', 'activitypub_enabled')"
|
||||
/> -->
|
||||
|
||||
<checkbox
|
||||
name="Spam detection"
|
||||
:value="features.autospam_enabled"
|
||||
|
@ -1268,6 +1282,7 @@
|
|||
stories: this.features.stories,
|
||||
instagram_import: this.features.instagram_import,
|
||||
autospam_enabled: this.features.autospam_enabled,
|
||||
authorized_fetch: this.features.authorized_fetch,
|
||||
}).then(res => {
|
||||
this.isSubmitting = false;
|
||||
this.isSubmittingTimeout = true;
|
||||
|
|
Loading…
Reference in a new issue