1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-23 00:40:46 +02:00

Fix tests for stored_session.go in middleware

This commit is contained in:
Kevin Kreitner
2021-10-11 11:12:11 +02:00
committed by Joel Speed
parent d8663a19a9
commit fca2d76f33
2 changed files with 6 additions and 24 deletions

View File

@ -103,7 +103,7 @@ func (s *storedSessionLoader) getValidatedSession(rw http.ResponseWriter, req *h
err = s.refreshSessionIfNeeded(rw, req, session)
if err != nil {
return nil, fmt.Errorf("error refreshing access token for session (%s): %v", session, err)
logger.Errorf("error refreshing access token for session (%s): %v", session, err)
}
// Validate all sessions after any Redeem/Refresh operation (fail or success)