FIX: Ensure page is reloaded when logging out (PR #8096)

To demonstrate the issue:

Setting window.location.pathname = "/" will not reload the page if there is a hash present. Using window.location = "/" gives us the desired behavior.

GitHub

1 Like

You’ve signed the CLA, davidtaylorhq. Thank you! This pull request is ready for review.

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

Should we do that everywhere else we’re also setting window.location.pathname instead of window.location?

Should we do that everywhere else

Yes, I think so. I’ve updated the 6 other locations where we were doing the same thing

1 Like