CDB-2891 Exposes username as search_path in params

This commit is contained in:
Raul Ochoa 2014-06-27 00:48:48 +01:00
parent bc3baf3094
commit 037ce2dc12

View File

@ -802,6 +802,8 @@ module.exports = function(){
// for cartodb, ensure interactivity is cartodb_id or user specified // for cartodb, ensure interactivity is cartodb_id or user specified
req.params.interactivity = req.params.interactivity || 'cartodb_id'; req.params.interactivity = req.params.interactivity || 'cartodb_id';
req.params.search_path = user;
var that = this; var that = this;
if (req.profiler) req.profiler.done('req2params.setup'); if (req.profiler) req.profiler.done('req2params.setup');