1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-05-31 23:19:50 +02:00

Update update session from store

This commit is contained in:
Kevin Kreitner 2021-09-29 17:15:48 +02:00 committed by Joel Speed
parent ccd7a91b2b
commit 88ab07930e
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB

View File

@ -200,7 +200,7 @@ func (s *storedSessionLoader) updateSessionFromStore(req *http.Request, session
return fmt.Errorf("unable to load updated session from store: %v", err)
}
if session == nil || sessionStored == nil {
if sessionStored == nil {
return fmt.Errorf("no session available to udpate from store")
}
*session = *sessionStored