Skip to content

Commit

Permalink
Requests api_key to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
javo committed Nov 10, 2016
1 parent 2353002 commit d5d3fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/agent/plugins/control-panel/api/request.js
Expand Up @@ -56,7 +56,7 @@ var send = function(attempt, method, path, data, options, cb) {
opts.user_agent = opts.user_agent || defaults.user_agent;

if (!opts.username) {
opts.username = keys.get().api;
opts.username = keys.get().api.toLowerCase();
opts.password = 'x';
}

Expand Down

0 comments on commit d5d3fae

Please sign in to comment.