# "Log Out" refreshing website, but still logged in

**URL:** <https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403>\
**Category:** Bug\
**Created:** [March 1, 2016, 5:47pm UTC](https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403 "2016-03-01T17:47:47Z")\
**Posts on this page:** 6\
**Page:** 1

## AI-generated summary

A bug report was raised by [mkucharz](/t/-/40403/1) regarding an issue where the "Log Out" function fails to log users out, instead just refreshing the page. The user noted JavaScript console errors, specifically `TypeError: this[e] is not a function`. [TechnoBear](/t/-/40403/2) confirmed the issue on the Meta site, noting that both the logout link and the keyboard shortcut (`Shift`+`z`) were unresponsive. [downey](/t/-/40403/3) verified the bug on a fresh installation, observing that while standard logout fails, administrators can still force a user logout successfully. [codinghorror](/t/-/40403/4) escalated the issue to a developer. The problem was subsequently resolved by [sam](/t/-/40403/5), who linked to the specific GitHub commit that fixed the bug.

<div class="post-metadata">

**Author:** ![mkucharz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mkucharz/32/51716_2.png) [@mkucharz](https://meta.discourse.org/u/mkucharz)\
**Post date:** [March 1, 2016, 5:47pm UTC](https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403/1 "2016-03-01T17:47:47Z")

</div>

Since it is my first post to this forum - hello everyone!

I have weird problem with “Log Out”, when I’m trying to log out myself website is refreshing but I’m still logged in.. I’ve noticed some errors in JS console `TypeError: this[e] is not a function`

 ![](https://global.discourse-cdn.com/meta/original/3X/3/e/3eb9c21a1990414ce5bc4559323361da05041823.png)

Please let me know if I can provide any more info.

---

<div class="post-metadata">

**Author:** ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)\
**Post date:** [March 1, 2016, 6:12pm UTC](https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403/2 "2016-03-01T18:12:41Z")

</div>

I can confirm this is happening here on Meta today. (I’ve not encountered it before, and I log out every time I visit.)

It’s not possible to log out either using Shift+z or via the link on the notification menu.

(Firefox 44.0.2 on Ubuntu Gnome 15.10.)

---

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [March 1, 2016, 6:22pm UTC](https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403/3 "2016-03-01T18:22:31Z")

</div>

Happening on my own latest install. An admin **can** force log-out a user, however, and it works.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [March 1, 2016, 8:10pm UTC](https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403/4 "2016-03-01T20:10:45Z")

</div>

Can you take a peek @tgxworld?

---

<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:** [March 2, 2016, 12:19am UTC](https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403/5 "2016-03-02T00:19:32Z")

</div>

Fixed per:

[https://github.com/discourse/discourse/commit/280ca372a34f5629ca22723595246c49e594910b](https://github.com/discourse/discourse/commit/280ca372a34f5629ca22723595246c49e594910b)

---

<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:** [March 2, 2016, 12:19am UTC](https://meta.discourse.org/t/log-out-refreshing-website-but-still-logged-in/40403/6 "2016-03-02T00:19:38Z")

</div>

Closed on March 2, 2016, 12:19am UTC


