mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 08:54:36 +03: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
ac293db0a2
commit
ccfbf65f7b
@ -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…
Reference in New Issue
Block a user