Fix migration of old connector data

This commit is contained in:
Joel Speed 2019-09-25 21:31:04 +01:00
parent d9095073c8
commit c4e96dda32
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB

View File

@ -1008,7 +1008,7 @@ func (s *Server) handleRefreshToken(w http.ResponseWriter, r *http.Request, clie
} }
} else if len(refresh.ConnectorData) > 0 { } else if len(refresh.ConnectorData) > 0 {
// Use the old connector data if it exists, should be deleted once used // Use the old connector data if it exists, should be deleted once used
connectorData = session.ConnectorData connectorData = refresh.ConnectorData
} else { } else {
connectorData = session.ConnectorData connectorData = session.ConnectorData
} }