mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-30 18:46:01 +01:00 
			
		
		
		
	closes #2073
This commit is contained in:
		| @@ -35,6 +35,10 @@ | |||||||
|         "field": "allowLocalLogin", |         "field": "allowLocalLogin", | ||||||
|         "value": 1 |         "value": 1 | ||||||
|     }, |     }, | ||||||
|  |     { | ||||||
|  |         "field": "allowAccountDelete", | ||||||
|  |         "value": 1, | ||||||
|  |     }, | ||||||
|     { |     { | ||||||
|         "field": "allowFileUploads", |         "field": "allowFileUploads", | ||||||
|         "value": 0 |         "value": 0 | ||||||
|   | |||||||
| @@ -30,6 +30,7 @@ apiController.getConfig = function(req, res, next) { | |||||||
| 	config.allowGuestSearching = parseInt(meta.config.allowGuestSearching, 10) === 1; | 	config.allowGuestSearching = parseInt(meta.config.allowGuestSearching, 10) === 1; | ||||||
| 	config.allowFileUploads = parseInt(meta.config.allowFileUploads, 10) === 1; | 	config.allowFileUploads = parseInt(meta.config.allowFileUploads, 10) === 1; | ||||||
| 	config.allowTopicsThumbnail = parseInt(meta.config.allowTopicsThumbnail, 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.privateUserInfo = parseInt(meta.config.privateUserInfo, 10) === 1; | ||||||
| 	config.usePagination = parseInt(meta.config.usePagination, 10) === 1; | 	config.usePagination = parseInt(meta.config.usePagination, 10) === 1; | ||||||
| 	config.disableSocialButtons = parseInt(meta.config.disableSocialButtons, 10) === 1; | 	config.disableSocialButtons = parseInt(meta.config.disableSocialButtons, 10) === 1; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user