LDO-CERT / orochi

The Volatility Collaborative GUI
MIT License
227 stars 19 forks source link

CSRF verification failed. Request aborted. #1103

Open devilman85 opened 1 month ago

devilman85 commented 1 month ago

I have a problem with logging in via admin/admin. CSRF verification failed. Request aborted.

garanews commented 1 month ago

Did you set the variable here? https://github.com/LDO-CERT/orochi/blob/master/.envs/.local/.django#L73 You can set it with the URL that then you will use to access. Also the IP address is ok in case.

devilman85 commented 1 month ago

always gives me error even with ip

garanews commented 1 month ago

probably wrong syntax, try in this way (the ip is an example):

CSRF_TRUSTED_ORIGINS=['https://orochi.dev','https://localhost','https://192.168.11.134']

image

devilman85 commented 1 month ago

csrf

I followed your advice but I always have the error you see

garanews commented 1 month ago

Hello, as I suggested is not correct 100%, in fact when try to upload I got CSRF error again! This one instead it works 100% ,tested login and upload of dump: CSRF_TRUSTED_ORIGINS=https://orochi.dev,https://localhost,https://192.168.11.134

PS: when apply changes on .envs/.local/.django ensure to stop and start again the container, the restart doesn't work!