0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Show notification on successful sign out

Closes #2977
This commit is contained in:
Jason Williams 2014-06-16 22:54:21 +00:00
parent 6a49b95980
commit 7bc4d9f455

View file

@ -15,7 +15,7 @@ var SignoutRoute = AuthenticatedRoute.extend(styleBody, {
'X-CSRF-Token': this.get('csrf') 'X-CSRF-Token': this.get('csrf')
} }
}).then(function () { }).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 // @TODO: new CSRF token to enable logging back in w/o refreshing - see issue #2861 for details
self.transitionTo('signin'); self.transitionTo('signin');
}, function (resp) { }, function (resp) {