This commit is contained in:
javi
2013-11-29 12:46:25 +01:00
parent 046c570f5a
commit 75b0ab5c87
+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);
},