# Refresh-after-logout goes to homepage

**URL:** https://meta.discourse.org/t/refresh-after-logout-goes-to-homepage/75523
**Category:** Feature
**Created:** [12월 6, 2017, 1:57오후 UTC](https://meta.discourse.org/t/refresh-after-logout-goes-to-homepage/75523 "2017-12-06T13:57:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [12월 6, 2017, 1:57오후 UTC](https://meta.discourse.org/t/refresh-after-logout-goes-to-homepage/75523/1 "2017-12-06T13:57:27Z")

</div>

Repro path (Safari, Mac OS):

- In `Tab.A`, go to a community URL (e.g. [https://meta.discourse.org/t/welcome-to-meta-discourse-org/1](https://meta.discourse.org/t/welcome-to-meta-discourse-org/1))
- Open a new tab, `Tab.B`
- In `Tab.B`, log out
- In `Tab.B`, log back in (in my case, using Google Oauth)
- Switch to `Tab.A`
- You’ll get a notification that you are logged out, with a big “refresh” button.
- Click the button

**Expected behaviour**

- Page refreshes, I stay at [https://meta.discourse.org/t/welcome-to-meta-discourse-org/1](https://meta.discourse.org/t/welcome-to-meta-discourse-org/1)

**Actual behaviour**

- I’m navigated to [meta.discourse.com](http://meta.discourse.com)

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [12월 6, 2017, 3:33오후 UTC](https://meta.discourse.org/t/refresh-after-logout-goes-to-homepage/75523/2 "2017-12-06T15:33:41Z")

</div>

The reason for filing this is that it is a proper annoyance when you’re testing with different users and want to see how they see certain things. Makes you constantly switch (using different browser profiles would help I guess)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [12월 7, 2017, 11:16오후 UTC](https://meta.discourse.org/t/refresh-after-logout-goes-to-homepage/75523/3 "2017-12-07T23:16:06Z")

</div>

hmmm … I am a maybe on this.

Cause if you are on a page you have no permission to access then the refresh will result in an error, so we would have to account for that, which is complicated.

I think if you are doing this kind of stuff use multiple browsers or profiles. That is the way to go.

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [12월 8, 2017, 8:11오전 UTC](https://meta.discourse.org/t/refresh-after-logout-goes-to-homepage/75523/4 "2017-12-08T08:11:44Z")

</div>

> [@sam](#):
>
> if you are on a page you have no permission to access then the refresh will result in an error, so we would have to account for that, which is complicated.

But that’s exactly what I want to test 🙃

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [12월 8, 2017, 8:12오전 UTC](https://meta.discourse.org/t/refresh-after-logout-goes-to-homepage/75523/5 "2017-12-08T08:12:33Z")

</div>

But alright, since this is now labeled as a `feature` instead of a bug. Can you at least rename the button? That way I can manually refresh the URL instead of being tricked 🙂
