diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2021-02-22 18:11:27 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2021-02-22 18:11:27 +0200 |
| commit | 485f4b899ccad57694b7a45535936b7a5de8c4fb (patch) | |
| tree | 4df146dc91d5222b1586f42c7f2536109e7a01a5 /src/boot/after_store.js | |
| parent | 98cb9abac773e8fbce94eafea1025919b6f26360 (diff) | |
| parent | 3d013630aee48863cda5ece9ddf9a291703eb1af (diff) | |
changelog conflict
Diffstat (limited to 'src/boot/after_store.js')
| -rw-r--r-- | src/boot/after_store.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js index b472fcf6..45090e5d 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -51,6 +51,7 @@ const getInstanceConfig = async ({ store }) => { const vapidPublicKey = data.pleroma.vapid_public_key store.dispatch('setInstanceOption', { name: 'textlimit', value: textlimit }) + store.dispatch('setInstanceOption', { name: 'accountApprovalRequired', value: data.approval_required }) if (vapidPublicKey) { store.dispatch('setInstanceOption', { name: 'vapidPublicKey', value: vapidPublicKey }) |
