74273a5a by Adam Heath

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

1 parent 7efb304d
...@@ -123,7 +123,7 @@ define(function(require) { ...@@ -123,7 +123,7 @@ define(function(require) {
123 ready.resolve(); 123 ready.resolve();
124 }); 124 });
125 this.login = function() { 125 this.login = function() {
126 // TODO: possibly fetch USERNAME/PASSWORD from browser.localStorage 126 // TODO: possibly fetch userName/password from browser.localStorage
127 this.trigger('provider:logged-in'); 127 this.trigger('provider:logged-in');
128 return this; 128 return this;
129 }; 129 };
...@@ -133,8 +133,8 @@ define(function(require) { ...@@ -133,8 +133,8 @@ define(function(require) {
133 }; 133 };
134 this.attachProviderData = function(data) { 134 this.attachProviderData = function(data) {
135 _.extend(data, { 135 _.extend(data, {
136 USERNAME: this.get('USERNAME'), 136 userName: this.get('userName'),
137 PASSWORD: this.get('PASSWORD'), 137 password: this.get('password'),
138 }); 138 });
139 }; 139 };
140 bindMethods(this, 'login', 'logout', 'attachProviderData'); 140 bindMethods(this, 'login', 'logout', 'attachProviderData');
......