0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Merge pull request #2979 from jaswilli/issue-2977-signout

Show notification on successful sign out
This commit is contained in:
Hannah Wolfe 2014-06-17 09:42:10 +02:00
commit 063b2ea89c

View file

@ -15,7 +15,7 @@ var SignoutRoute = AuthenticatedRoute.extend(styleBody, {
'X-CSRF-Token': this.get('csrf')
}
}).then(function () {
self.notifications.showSuccess('You were successfully signed out.');
// @TODO: new CSRF token to enable logging back in w/o refreshing - see issue #2861 for details
self.transitionTo('signin');
}, function (resp) {