Log the session after verification
This commit is contained in:
parent
4078559a89
commit
14a1edee57
|
@ -292,6 +292,7 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
sess.Me = authResponse.Me
|
||||
sess.LoggedIn = true
|
||||
saveSession(sessionVar, &sess, conn)
|
||||
log.Printf("SESSION: %#v\n", sess)
|
||||
if sess.NextURI != "" {
|
||||
http.Redirect(w, r, sess.NextURI, 302)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user