Removed unnecessary print

This commit is contained in:
Luiz Vasconcelos 2025-02-15 10:37:32 +01:00
parent 2343eb2000
commit 77f4d32386
1 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"context"
"crypto/rand"
"encoding/base64"
"fmt"
"log"
"net/http"
"time"
@ -122,7 +121,6 @@ func (h *Handlers) CallbackHandler(w http.ResponseWriter, r *http.Request) {
session.Values["access_token"] = oauth2Token.AccessToken
session.Values["user_info"] = claims
fmt.Println(claims)
session.Options.MaxAge = int(oauth2Token.Expiry.Sub(time.Now()).Seconds())
err = session.Save(r, w)
if err != nil {