removed hack that keeps me loggedin that I never meant to push

This commit is contained in:
Brad 2014-06-05 17:12:51 -07:00
parent 2163f2da57
commit feea108f51

View file

@ -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