#102 Fixed issue with creating account
parent
67a8ba1852
commit
4d94b56e74
|
@ -106,7 +106,6 @@ module.exports = (app, passport) => {
|
|||
|
||||
// Validate email
|
||||
req.checkBody('email', 'Please enter a valid email address.').isEmail();
|
||||
req.sanitizeBody('email').normalizeEmail({remove_dots:false});
|
||||
|
||||
// Check if somebody already has that email
|
||||
debug(`Searching for user with email ${req.body.email}...`);
|
||||
|
|
Loading…
Reference in New Issue