v1.18.x
barisusakli 10 years ago
parent a0cc2ee6a9
commit c1f3b94d67

@ -35,6 +35,10 @@
"field": "allowLocalLogin",
"value": 1
},
{
"field": "allowAccountDelete",
"value": 1,
},
{
"field": "allowFileUploads",
"value": 0

@ -30,6 +30,7 @@ apiController.getConfig = function(req, res, next) {
config.allowGuestSearching = parseInt(meta.config.allowGuestSearching, 10) === 1;
config.allowFileUploads = parseInt(meta.config.allowFileUploads, 10) === 1;
config.allowTopicsThumbnail = parseInt(meta.config.allowTopicsThumbnail, 10) === 1;
config.allowAccountDelete = parseInt(meta.config.allowAccountDelete, 10) === 1;
config.privateUserInfo = parseInt(meta.config.privateUserInfo, 10) === 1;
config.usePagination = parseInt(meta.config.usePagination, 10) === 1;
config.disableSocialButtons = parseInt(meta.config.disableSocialButtons, 10) === 1;

Loading…
Cancel
Save