Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Eusse committed Oct 22, 2016
1 parent 56f7eb4 commit a3b3a82
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 a3b3a82

Please sign in to comment.