Skip to content

Commit

Permalink
explain CSRF issue related to USE_HTTPS
Browse files Browse the repository at this point in the history
reasoning: people may blow past this and it's helpful to have something
they can see explaining why they got an error and how to fix it.
  • Loading branch information
mattkatz committed Sep 26, 2023
1 parent 2e4c099 commit f3b2a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/contributing/install-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cp .env.example .env
```
- In `.env`, change `DEBUG` to `true`
- Optionally, you can use a service like [ngrok](https://ngrok.com/) to set up a domain name, and set the `DOMAIN` variable in your `.env` file to the domain name generated by ngrok.
- Unless you want to set up your local machine to support https during development, you may want to set `USE_HTTPS=false`
- Unless you want to set up your local machine to support https during development, you may want to set `USE_HTTPS=false`. If you try to register your admin account and see a message that `CSRF verification failed`, you should set this option.

- Set up nginx for development by copying the developer nginx configuration file (`nginx/development`) into a new file named `nginx/default.conf`:
``` { .sh }
Expand Down

0 comments on commit f3b2a27

Please sign in to comment.