diff --git a/lib/cartodb/api/auth_api.js b/lib/cartodb/api/auth_api.js index 677ccc86..43f19d4e 100644 --- a/lib/cartodb/api/auth_api.js +++ b/lib/cartodb/api/auth_api.js @@ -86,8 +86,6 @@ AuthApi.prototype.authorizedByAPIKey = function(user, res, callback) { } if ( !isValidApiKey(apikey)) { - return callback(null, true); // AUTH_FALLBACK :S If api key not found, use default_public - const error = new Error('Unauthorized'); error.type = 'auth'; error.subtype = 'api-key-not-found';