mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-05-29 23:17:38 +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())
|
logger.Printf("Refreshing session - User: %s; SessionAge: %s", session.User, session.Age())
|
||||||
err = s.refreshSession(rw, req, session)
|
return 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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// refreshSession attempts to refresh the session with the provider
|
// refreshSession attempts to refresh the session with the provider
|
||||||
|
Loading…
x
Reference in New Issue
Block a user