Skip to content

Commit

Permalink
[jitsu/config] username should be lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Sep 27, 2011
1 parent f9f97cb commit 626040b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/jitsu/config.js
Expand Up @@ -191,5 +191,9 @@ config.get = function (key) {
}

var value = _get.call(config, key);

if (key === 'username' && value) {
value = value.toLowerCase();
}
return typeof value !== 'undefined' ? value : defaults[key];
};

0 comments on commit 626040b

Please sign in to comment.