mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: #11714, add registrationQueue flag
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"flagged-content": "Flagged Content",
|
||||
"ip-blacklist": "IP Blacklist",
|
||||
"post-queue": "Post Queue",
|
||||
"registration-queue": "Registration Queue",
|
||||
|
||||
"users/online": "Online Users",
|
||||
"users/latest": "Latest Users",
|
||||
|
||||
@@ -154,6 +154,7 @@ module.exports = function (middleware) {
|
||||
allowRegistration: registrationType === 'normal',
|
||||
searchEnabled: plugins.hooks.hasListeners('filter:search.query'),
|
||||
postQueueEnabled: !!meta.config.postQueue,
|
||||
registrationQueueEnabled: meta.config.registrationApprovalType !== 'normal' || (meta.config.registrationType === 'invite-only' || meta.config.registrationType === 'admin-invite-only'),
|
||||
config: res.locals.config,
|
||||
relative_path,
|
||||
bodyClass: options.bodyClass,
|
||||
|
||||
Reference in New Issue
Block a user