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:
parent
ccd7a91b2b
commit
88ab07930e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user