forked from mystiq/dex
Fix migration of old connector data
This commit is contained in:
parent
d9095073c8
commit
c4e96dda32
1 changed files with 1 additions and 1 deletions
|
@ -1008,7 +1008,7 @@ func (s *Server) handleRefreshToken(w http.ResponseWriter, r *http.Request, clie
|
|||
}
|
||||
} else if len(refresh.ConnectorData) > 0 {
|
||||
// Use the old connector data if it exists, should be deleted once used
|
||||
connectorData = session.ConnectorData
|
||||
connectorData = refresh.ConnectorData
|
||||
} else {
|
||||
connectorData = session.ConnectorData
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue