ad9009afa1
normalizeEmail() transforms e.g. user.name@gmail.com → username@gmail.com (removes dots per Gmail aliasing rules), causing a mismatch between the stored email and the value Passport searches for at login. Replaced with toLowerCase() which is the only normalization applied consistently by create-user.js and the rest of the app.