File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,12 @@ import Ember from 'ember';
77import RSVP from 'rsvp' ;
88
99import * as Sentry from '@sentry/browser' ;
10- import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin' ;
1110
1211import _availableLocales from '../utils/locales' ;
1312
1413const FALLBACK_LOCALE = 'en' ;
1514
16- export default class ApplicationRoute extends Route . extend ( ApplicationRouteMixin ) {
15+ export default class ApplicationRoute extends Route {
1716 @service account ;
1817 @service ajax ;
1918 @service cookies ;
@@ -80,18 +79,6 @@ export default class ApplicationRoute extends Route.extend(ApplicationRouteMixin
8079 }
8180 }
8281
83- sessionAuthenticated ( ) {
84- const attemptedTransition = this . get ( 'session.attemptedTransition' ) ;
85- const inLoginRoute = this . controllerFor ( 'application' ) . get ( 'inLoginRoute' ) ;
86-
87- if ( attemptedTransition ) {
88- attemptedTransition . retry ( ) ;
89- this . set ( 'session.attemptedTransition' , null ) ;
90- } else if ( inLoginRoute ) {
91- this . transitionTo ( 'index' ) ;
92- }
93- }
94-
9582 @action
9683 loading ( transition ) {
9784 this . progress . handle ( transition ) ;
You can’t perform that action at this time.
0 commit comments