Skip to content

registerUser error #161

@Jbarget

Description

@Jbarget

I havent run the code but i think this will break:

if (err) console.log(err);
req.cookieAuth.set({username: userinfo.username, userid: userinfo.id});
reply.redirect('/');

  1. The console log will print
  2. The app will break with "Cannot read username of undefined"

You probably want to reply with either an error view

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions