# CSRF login error after upgrade to 2.5.0.beta4

**URL:** <https://meta.discourse.org/t/csrf-login-error-after-upgrade-to-2-5-0-beta4/150423>\
**Category:** Product Support\
**Created:** [May 5, 2020, 10:51am UTC](https://meta.discourse.org/t/csrf-login-error-after-upgrade-to-2-5-0-beta4/150423 "2020-05-05T10:51:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![rossierd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rossierd/32/164604_2.png) [@rossierd](https://meta.discourse.org/u/rossierd)\
**Post date:** [June 8, 2020, 3:39pm UTC](https://meta.discourse.org/t/csrf-login-error-after-upgrade-to-2-5-0-beta4/150423/7 "2020-06-08T15:39:01Z")

</div>

Try this : [Moved site behind proxy, favicon and header not using https anymore - #12 by rossierd](https://meta.discourse.org/t/moved-site-behind-proxy-favicon-and-header-not-using-https-anymore/131486/12)

I got successful login with that, but take care where you patch the proxy\_pass command. It _only_ works in location @discourse { .. }

---

_[View the full topic](https://meta.discourse.org/t/csrf-login-error-after-upgrade-to-2-5-0-beta4/150423)._
