0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Merge pull request #3488 from manuelmitasch/fix-session-invalidation

The page refresh when oauth token has expired was broken.
This commit is contained in:
Hannah Wolfe 2014-07-31 23:28:58 +01:00
commit de46cd4a14

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