Prefix userName/password with 'form', so that each provider has it's own
prefix on its variables.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -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 | formUserName: this.get('userName'), |
137 | password: this.get('password'), | 137 | formPassword: 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