fixed #96
This commit is contained in:
parent
f1a68e4451
commit
01de288c35
@ -339,7 +339,7 @@ module.exports = function(){
|
||||
|
||||
// skip looking up user_password if postgres_auth_pass
|
||||
// doesn't contain the "user_password" label
|
||||
if ( ! auth_pass.match(/\buser_password\b/) ) return null;
|
||||
if (!auth_pass || ! auth_pass.match(/\buser_password\b/) ) return null;
|
||||
|
||||
cartoData.getDatabasePassword(req, this);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user