CDB-2891 Exposes username as search_path in params
This commit is contained in:
parent
bc3baf3094
commit
037ce2dc12
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user