mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
fix logging out from editor page
closes #6514 - removes transition.abort from the signout method because it can override the ember-simple-auth's page refresh
This commit is contained in:
parent
39b326aa6d
commit
980c864f68
1 changed files with 0 additions and 1 deletions
|
@ -18,7 +18,6 @@ export default AuthenticatedRoute.extend(styleBody, {
|
||||||
this.get('notifications').clearAll();
|
this.get('notifications').clearAll();
|
||||||
if (canInvoke(transition, 'send')) {
|
if (canInvoke(transition, 'send')) {
|
||||||
transition.send('invalidateSession');
|
transition.send('invalidateSession');
|
||||||
transition.abort();
|
|
||||||
} else {
|
} else {
|
||||||
this.send('invalidateSession');
|
this.send('invalidateSession');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue