userman
userman copied to clipboard
userman.web.authenticate() assumes no session data if not logged in
This function simply checks if req.session exists. This is not correct, as web applications may keep session data for non-authenticated visitors.