0
Fork 0
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:
Manuel Mitasch 2014-07-31 21:49:29 +02:00
parent c5fbe2def3
commit 2b1720e43b

View file

@ -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