MAINT: Upgrade to ember 2.16 LTS (#66)
This commit is contained in:
parent
39f4789a61
commit
eb4537afb1
45 changed files with 129 additions and 151 deletions
|
@ -1,9 +1,11 @@
|
|||
import Ember from 'ember';
|
||||
import { Promise } from 'rsvp';
|
||||
import $ from 'jquery';
|
||||
import { get } from '@ember/object';
|
||||
import { isEmpty } from '@ember/utils';
|
||||
import { run } from '@ember/runloop';
|
||||
import BaseAuthenticator from 'ember-simple-auth/authenticators/base';
|
||||
import config from '../config/environment';
|
||||
|
||||
const { RSVP: { Promise }, $, get, isEmpty, run } = Ember;
|
||||
|
||||
export default BaseAuthenticator.extend({
|
||||
serverTokenEndpoint: `${config.APP.API_HOST}/api/auth/login/`,
|
||||
tokenAttributeName: 'data.attributes.auth-token',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue