This commit is contained in:
javi
2013-12-17 17:17:15 +01:00
committed by Sandro Santilli
parent f1a68e4451
commit 01de288c35
+1 -1
View File
@@ -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);
},