74273a5a by Adam Heath

s/USERNAME/userName/ s/PASSWORD/password/

1 parent 7efb304d
......@@ -123,7 +123,7 @@ define(function(require) {
ready.resolve();
});
this.login = function() {
// TODO: possibly fetch USERNAME/PASSWORD from browser.localStorage
// TODO: possibly fetch userName/password from browser.localStorage
this.trigger('provider:logged-in');
return this;
};
......@@ -133,8 +133,8 @@ define(function(require) {
};
this.attachProviderData = function(data) {
_.extend(data, {
USERNAME: this.get('USERNAME'),
PASSWORD: this.get('PASSWORD'),
userName: this.get('userName'),
password: this.get('password'),
});
};
bindMethods(this, 'login', 'logout', 'attachProviderData');
......