add reason field when approval is required
This commit is contained in:
parent
44bddf6cd2
commit
a636e53404
4 changed files with 33 additions and 4 deletions
|
@ -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 })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue