diff options
| author | Shpuld Shpludson <shp@cock.li> | 2021-02-20 20:37:12 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2021-02-20 20:37:12 +0000 |
| commit | a89710452a54d0b3c6ea2c15706d8b238650708e (patch) | |
| tree | ba486d6a5ab6c4c8725026e4d25b07910749b567 /src/boot/after_store.js | |
| parent | 663362db562d31492bef8f650a41b5418037396c (diff) | |
| parent | 23a5c601a74d65e2f7368f6e918fdd07ffc85174 (diff) | |
Merge branch 'feat/reason-in-registration' into 'develop'
Close #1047 - add reason field for registration when needed
Closes #1047
See merge request pleroma/pleroma-fe!1347
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 }) |
