Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Eusse authored and poohitan committed Jan 25, 2017
1 parent a300434 commit 135a4cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/authenticators/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ export default Base.extend({
*/
getAuthenticateData(credentials) {
const authentication = {
[this.passwordField]: credentials.password,
[this.identificationField]: credentials.identification
[this.passwordField]: credentials[this.passwordField],
[this.identificationField]: credentials[this.identificationField]
};

return authentication;
Expand Down

0 comments on commit 135a4cf

Please sign in to comment.