mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
closes #3315
This commit is contained in:
@@ -40,7 +40,6 @@ authenticationController.register = function(req, res, next) {
|
||||
}
|
||||
},
|
||||
function(next) {
|
||||
console.log(userData);
|
||||
if (!userData.email) {
|
||||
return next(new Error('[[error:invalid-email]]'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user