mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -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);
|
this.notifications.showError(error.message);
|
||||||
},
|
},
|
||||||
|
|
||||||
sessionInvalidationSucceeded: function () {
|
|
||||||
this.notifications.showSuccess('You were successfully signed out.', true);
|
|
||||||
},
|
|
||||||
|
|
||||||
openModal: function (modalName, model, type) {
|
openModal: function (modalName, model, type) {
|
||||||
modalName = 'modals/' + modalName;
|
modalName = 'modals/' + modalName;
|
||||||
// We don't always require a modal to have a controller
|
// We don't always require a modal to have a controller
|
||||||
|
|
Loading…
Add table
Reference in a new issue