claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 184 forks source link

During authentication process, the user's email is overwritten causing issues with `authorization.validMatches` #120

Closed sebastienfilion closed 8 years ago

sebastienfilion commented 8 years ago

I simply installed Jingo on my server from latest and the line 155 simply overwrite the user's email causing email validation to fail.

155: res.locals.user.email = 'jingouser';
claudioc commented 8 years ago

Oh my god, thank you!

That was a leftover for a test before I released 1.5.0.

Sorry (fixed)!