Remove some logging and useless comment

This commit is contained in:
Peter Stuifzand 2018-07-25 13:51:59 +02:00
parent 06a8df3bb8
commit dae386ef87

View File

@ -427,8 +427,6 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
// Save this ^^ in Redis
var page authPage
page.Session = sess
page.Me = me
@ -513,7 +511,6 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
code := util.RandStringBytes(32)
state := r.FormValue("state")
channel := r.FormValue("channel")
log.Println(code, state, channel)
values, err := redis.Values(conn.Do("HGETALL", "state:"+state))
if err != nil {