More work on backend for user favorites

This commit is contained in:
Torkel Ödegaard
2015-01-29 12:10:34 +01:00
parent e02e60171e
commit 1d6413bfae
14 changed files with 138 additions and 59 deletions

View File

@@ -119,7 +119,7 @@ func loginUserWithUser(user *m.User, c *middleware.Context) {
log.Error(3, "User login with nil user")
}
c.Session.Set("userId", user.Id)
c.Session.Set(middleware.SESS_KEY_USERID, user.Id)
}
func LogoutPost(c *middleware.Context) {