# 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:** [2월 13, 2017, 9:34오후 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:** 26

<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: [2월 28, 2017, 3:51오후 UTC](https://meta.discourse.org/t/reports-of-user-logged-out-twice-today-related-to-recent-auth-tokens-changes/57330/26 "2017-02-28T15:51:24Z")

</div>

A couple of more fixes over the weekend and today to allow for iOS crazy

It seems that in certain cases

- We give webkit on iOS a new cookie
- It echos this cookie back to us
- (time passes)
- It sends us the old cookie instead of the new one (as if it did not flush the new cookie to disk)

I added a fix to allow for this situation better and a subsequent bugfix to the fix.

[https://github.com/discourse/discourse/commit/7e8f0dc967cb9764238f1937c57228e1322ed679](https://github.com/discourse/discourse/commit/7e8f0dc967cb9764238f1937c57228e1322ed679)

[https://github.com/discourse/discourse/commit/3ac47099031a1011a9ac80d648ed09808321ca20](https://github.com/discourse/discourse/commit/3ac47099031a1011a9ac80d648ed09808321ca20)

---

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