This commit is contained in:
javi 2013-11-29 12:46:25 +01:00 committed by Sandro Santilli
parent f1a68e4451
commit 01de288c35

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);
},