mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Logout takes you to the front page instead of leaving you on your user activity page
This commit is contained in:
parent
879aa06601
commit
57baf1f112
1 changed files with 1 additions and 1 deletions
|
@ -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('/');
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue