From 2b1720e43b3549bbca117840d6d72489af252c9d Mon Sep 17 00:00:00 2001 From: Manuel Mitasch Date: Thu, 31 Jul 2014 21:49:29 +0200 Subject: [PATCH] The page refresh when oauth token has expired was broken. Ember simple-auth action "sessionInvalidationSucceeded" was overriden to display a meaningless message. --- core/client/routes/application.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/client/routes/application.js b/core/client/routes/application.js index 628e9cff84..d84375aed8 100644 --- a/core/client/routes/application.js +++ b/core/client/routes/application.js @@ -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