Yet another username extraction fix. Thanks again @demimismo.
Closes #100 (yet again)
This commit is contained in:
parent
fcd17692ee
commit
4ee4492490
@ -281,7 +281,7 @@ module.exports = function(){
|
|||||||
sql = sql.join(';');
|
sql = sql.join(';');
|
||||||
|
|
||||||
var dbName = req.params.dbname;
|
var dbName = req.params.dbname;
|
||||||
var usr = req.headers.host.split('.')[0];
|
var usr = this.userByReq(req);
|
||||||
var key = req.params.map_key;
|
var key = req.params.map_key;
|
||||||
|
|
||||||
var cacheKey = dbName + ':' + token;
|
var cacheKey = dbName + ':' + token;
|
||||||
|
Loading…
Reference in New Issue
Block a user