aboutsummaryrefslogtreecommitdiff
path: root/src/boot/after_store.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2021-02-22 18:11:27 +0200
committerShpuld Shpuldson <shp@cock.li>2021-02-22 18:11:27 +0200
commit485f4b899ccad57694b7a45535936b7a5de8c4fb (patch)
tree4df146dc91d5222b1586f42c7f2536109e7a01a5 /src/boot/after_store.js
parent98cb9abac773e8fbce94eafea1025919b6f26360 (diff)
parent3d013630aee48863cda5ece9ddf9a291703eb1af (diff)
changelog conflict
Diffstat (limited to 'src/boot/after_store.js')
-rw-r--r--src/boot/after_store.js1
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 })