# Reports of user logged out twice today - related to recent auth tokens changes?

**URL:** <https://meta.discourse.org/t/reports-of-user-logged-out-twice-today-related-to-recent-auth-tokens-changes/57330>\
**Category:** Bug\
**Created:** [13.Февраль.2017 21:34:17 UTC](https://meta.discourse.org/t/reports-of-user-logged-out-twice-today-related-to-recent-auth-tokens-changes/57330 "2017-02-13T21:34:17Z")\
**Posts on this page:** 1\
**Showing post:** 39

<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:** [07.Март.2017 18:48:46 UTC](https://meta.discourse.org/t/reports-of-user-logged-out-twice-today-related-to-recent-auth-tokens-changes/57330/39 "2017-03-07T18:48:46Z")

</div>

I hate to leave this topic open forever, but yet again we saw the exact issue across various browsers.

I just made some changes to adjust the process of dealing with invalid tokens a bit. In particular I eliminated the chance of getting the 500 errors people were seeing, added more logging and handled a corner case where we are presented with old tokens a bit better.

Let’s see how it goes.

[https://github.com/discourse/discourse/commit/99f4d5082b6c9f0970a092ef96c3b9ade0cef3d0](https://github.com/discourse/discourse/commit/99f4d5082b6c9f0970a092ef96c3b9ade0cef3d0)

---

_[View the full topic](https://meta.discourse.org/t/reports-of-user-logged-out-twice-today-related-to-recent-auth-tokens-changes/57330)._
