mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
docs: added CSRF_TRUSTED_ORIGINS to the example
On the Online Setup documentation there is a settings file sample, but it does not include the CSRF_TRUSTED_ORIGINS, which is needed and should be documented. Closes: #2767
This commit is contained in:
parent
3992f37dad
commit
93419be0fb
1 changed files with 4 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ WEBSOCKET_CLIENT_PORT = 4002
|
|||
WEBSERVER_PORTS = [(4001, 4005)]
|
||||
AMP_PORT = 4006
|
||||
|
||||
# This needs to be set to your website address for django or you'll receive a
|
||||
# CSRF error when trying to log on to the web portal
|
||||
CSRF_TRUSTED_ORIGINS = ['https://mymudgame.com']
|
||||
|
||||
# Optional - security measures limiting interface access
|
||||
# (don't set these before you know things work without them)
|
||||
TELNET_INTERFACES = ['203.0.113.0']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue