mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-05-27 23:08:10 +02:00
Remove unnecessary log output
This commit is contained in:
parent
a8de9862cd
commit
d8663a19a9
@ -137,13 +137,7 @@ func (s *storedSessionLoader) refreshSessionIfNeeded(rw http.ResponseWriter, req
|
||||
}
|
||||
|
||||
logger.Printf("Refreshing session - User: %s; SessionAge: %s", session.User, session.Age())
|
||||
err = s.refreshSession(rw, req, session)
|
||||
if err != nil {
|
||||
// If a preemptive refresh fails, we still keep the session
|
||||
// if validateSession succeeds.
|
||||
logger.Errorf("Unable to refresh session: %v", err)
|
||||
}
|
||||
return err
|
||||
return s.refreshSession(rw, req, session)
|
||||
}
|
||||
|
||||
// refreshSession attempts to refresh the session with the provider
|
||||
|
Loading…
x
Reference in New Issue
Block a user