#102 Removed sanitization from forgot password form

master
Keith Irwin 2017-07-17 03:39:24 -04:00
parent fdf43281bf
commit 7d34bf72c1
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 0 additions and 1 deletions

View File

@ -237,7 +237,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 has that email
User.findOne({'email':req.body.email})