s/USERNAME/userName/ s/PASSWORD/password/
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -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'); | ... | ... |
-
Please register or sign in to post a comment