diff --git a/ember/app/routes/application.js b/ember/app/routes/application.js index c5fdc8258f..e093cfbb20 100644 --- a/ember/app/routes/application.js +++ b/ember/app/routes/application.js @@ -7,13 +7,12 @@ import Ember from 'ember'; import RSVP from 'rsvp'; import * as Sentry from '@sentry/browser'; -import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin'; import _availableLocales from '../utils/locales'; const FALLBACK_LOCALE = 'en'; -export default class ApplicationRoute extends Route.extend(ApplicationRouteMixin) { +export default class ApplicationRoute extends Route { @service account; @service ajax; @service cookies; @@ -80,18 +79,6 @@ export default class ApplicationRoute extends Route.extend(ApplicationRouteMixin } } - sessionAuthenticated() { - const attemptedTransition = this.get('session.attemptedTransition'); - const inLoginRoute = this.controllerFor('application').get('inLoginRoute'); - - if (attemptedTransition) { - attemptedTransition.retry(); - this.set('session.attemptedTransition', null); - } else if (inLoginRoute) { - this.transitionTo('index'); - } - } - @action loading(transition) { this.progress.handle(transition);