TryGhost/Ghost — pull request #2766 by jgable (2014-05-15 01:42:31+00:00)
Title: Fix sign up not setting user on session

No issue found

- Grab `user` out of api response from `users[0]`

When signing up, the user was being redirected immediately to the signin page because the `req.session.user` was undefined. Now the user is logged in properly after signup without having to login again.

To reproduce on master, delete your database and sign up as a new user.