mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
The page refresh when oauth token has expired was broken.
Ember simple-auth action "sessionInvalidationSucceeded" was overriden to display a meaningless message.
This commit is contained in:
parent
c5fbe2def3
commit
2b1720e43b
1 changed files with 0 additions and 4 deletions
|
@ -42,10 +42,6 @@ var ApplicationRoute = Ember.Route.extend(SimpleAuth.ApplicationRouteMixin, Shor
|
|||
this.notifications.showError(error.message);
|
||||
},
|
||||
|
||||
sessionInvalidationSucceeded: function () {
|
||||
this.notifications.showSuccess('You were successfully signed out.', true);
|
||||
},
|
||||
|
||||
openModal: function (modalName, model, type) {
|
||||
modalName = 'modals/' + modalName;
|
||||
// We don't always require a modal to have a controller
|
||||
|
|
Loading…
Reference in a new issue