BUG: Fix token path (#23)
This commit is contained in:
parent
55a1c4fca6
commit
8309486a8a
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ const { RSVP: { Promise }, $, get, isEmpty, run } = Ember;
|
|||
|
||||
export default BaseAuthenticator.extend({
|
||||
serverTokenEndpoint: `${config.APP.API_HOST}/api/auth/login/`,
|
||||
tokenAttributeName: 'data.token',
|
||||
tokenAttributeName: 'data.attributes.auth-token',
|
||||
identificationAttributeName: 'username',
|
||||
verificationAttributeName: 'password',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue