# 500 error when logging in -- plugin related?

**URL:** https://meta.discourse.org/t/500-error-when-logging-in-plugin-related/58266
**Category:** Bug
**Created:** [03.Март.2017 00:34:30 UTC](https://meta.discourse.org/t/500-error-when-logging-in-plugin-related/58266 "2017-03-03T00:34:30Z")
**Posts on this page:** 1
**Showing post:** 9

<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 14:31:35 UTC](https://meta.discourse.org/t/500-error-when-logging-in-plugin-related/58266/9 "2017-03-07T14:31:35Z")

</div>

This is actually this issue:

> [@Reports of user logged out twice today - related to recent auth tokens changes?](https://meta.discourse.org/t/reports-of-user-logged-out-twice-today-related-to-recent-auth-tokens-changes/57330):
>
> On the [SE23 Forum](https://se23.life) I’ve had a few bug reports today which concerned me. The most notable error is a user being logged out twice when returning to the site on her iPad. “I came back to the site after some time and it auto-refreshed on my iPad. So I would see things as if I was logged in and then when it auto-refreshed, I was logged out. Hasn’t happened every time today, but happened twice” I upgraded Discourse to the latest core code late last night, and also added the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) and Topic Li…

A side effect of one of my fixes, I reopened the original, lets keeps all discussion there.

I have seen this exact issue and will at least put in a fix to stop the egregious erroring.

---

_[View the full topic](https://meta.discourse.org/t/500-error-when-logging-in-plugin-related/58266)._
