1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-24 08:52:25 +02:00

doc: fix typo in function description (#2738)

This commit is contained in:
Teko 2024-08-20 18:41:23 +02:00 committed by GitHub
parent 9a9e7b7a37
commit f9a0a4a280
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ func (s *storedSessionLoader) loadSession(next http.Handler) http.Handler {
}
// getValidatedSession is responsible for loading a session and making sure
// that is is valid.
// that it is valid.
func (s *storedSessionLoader) getValidatedSession(rw http.ResponseWriter, req *http.Request) (*sessionsapi.SessionState, error) {
session, err := s.store.Load(req)
if err != nil || session == nil {