Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
frontend-auth
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9787220f
authored
2016-06-30 22:40:28 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Prefix userName/password with 'form', so that each provider has it's own
prefix on its variables.
1 parent
1b03da06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/scripts/Auth.js
src/scripts/Auth.js
View file @
9787220
...
...
@@ -133,8 +133,8 @@ define(function(require) {
};
this
.
attachProviderData
=
function
(
data
)
{
_
.
extend
(
data
,
{
u
serName
:
this
.
get
(
'userName'
),
p
assword
:
this
.
get
(
'password'
),
formU
serName
:
this
.
get
(
'userName'
),
formP
assword
:
this
.
get
(
'password'
),
});
};
bindMethods
(
this
,
'login'
,
'logout'
,
'attachProviderData'
);
...
...
Please
register
or
sign in
to post a comment