Overview
You may try setting up your CloudBolt Portal in an external URL that is causing an error similar to the example below:
django.security.csrf: Forbidden (Referer checking failed - https://yourcloudboltinstance.com/accounts/login/?next=/ does not match any trusted origins.): /accounts/login/, referer: https://yourcloudboltinstance.com/accounts/login/?next=/
Procedure
Add trusted URLs to your customer_settings.py file
SSH to your CloudBolt instance
cd to
/var/opt/cloudbolt/proserv/
Edit your
customer_settings.py
file withvi customer_settings.py
Add the below line to your
customer_settings.py
and add URLs:CSRF_TRUSTED_ORIGINS = []
Save and exit
customer_settings.py
Restart apache with
service httpd restart
0 Comments