mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Logout takes you to the front page instead of leaving you on your user activity page
This commit is contained in:
@ -158,7 +158,7 @@ Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
|
||||
Discourse.User.logout().then(function() {
|
||||
// Reloading will refresh unbound properties
|
||||
Discourse.KeyValueStore.abandonLocal();
|
||||
window.location.reload();
|
||||
window.location.pathname = Discourse.getURL('/');
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user