Fix migration of old connector data

This commit is contained in:
Joel Speed
2019-11-19 15:43:23 +00:00
parent d9095073c8
commit c4e96dda32
+1 -1
View File
@@ -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
}