mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	fix: #8918
This commit is contained in:
		@@ -37,6 +37,7 @@ SocketUser.exists = async function (socket, data) {
 | 
			
		||||
 | 
			
		||||
SocketUser.deleteAccount = async function (socket, data) {
 | 
			
		||||
	sockets.warnDeprecated(socket, 'DELETE /api/v3/users/:uid/account');
 | 
			
		||||
	data.uid = socket.uid;
 | 
			
		||||
	await api.users.deleteAccount(socket, data);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user