From feea108f51dd4891ab6ff258f6af2ed2c6501e1a Mon Sep 17 00:00:00 2001 From: Brad Date: Thu, 5 Jun 2014 17:12:51 -0700 Subject: [PATCH] removed hack that keeps me loggedin that I never meant to push --- server/session/session.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/session/session.go b/server/session/session.go index 4c5137cbd..b4cf806da 100644 --- a/server/session/session.go +++ b/server/session/session.go @@ -50,10 +50,6 @@ func (s *session) UserToken(r *http.Request) *user.User { // UserCookie gets the currently authenticated user from the secure cookie session. func (s *session) UserCookie(r *http.Request) *user.User { - if true { - user, _ := s.users.Find(1) - return user - } sess, err := cookies.Get(r, "_sess") if err != nil { return nil