# Users can't sign in due to 403 error

**URL:** <https://meta.discourse.org/t/users-cant-sign-in-due-to-403-error/56449>\
**Category:** Self-hosting\
**Created:** [January 27, 2017, 11:34am UTC](https://meta.discourse.org/t/users-cant-sign-in-due-to-403-error/56449 "2017-01-27T11:34:24Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Frey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frey/32/115508_2.png) [@Frey](https://meta.discourse.org/u/Frey)\
**Post date:** [January 28, 2017, 6:11am UTC](https://meta.discourse.org/t/users-cant-sign-in-due-to-403-error/56449/8 "2017-01-28T06:11:25Z")

</div>

> [@Frey](#):
>
> I’ve enabled force https, but got CSRF error when tried to disable it.

Just in case anybody got in the same situation:

1. SSH to server
2. `cd /var/discourse`
3. `./launcher enter app`
4. `rails c`
5. `SiteSetting.force_https = false`  
6, 7, 8. `exit`

---

_[View the full topic](https://meta.discourse.org/t/users-cant-sign-in-due-to-403-error/56449)._
