Change default admin password CSRF verification failed. Request aborted.
0
Hello,
I have successfully installed GitStack on a Windows 2008r2 Server and it works well,
but if I try to change the default admin password on the Webinterface I get the following error.
Tags: asked April 28, 2012
CSRF verification failed. Request aborted.
Help
Reason given for failure:CSRF token missing or incorrect.In general, this can occur when there is a genuine Cross Site Request Forgery, or when Django’s CSRF mechanism has not been used correctly. For POST forms, you need to ensure:
- Your browser is accepting cookies.
- The view function uses
RequestContext
for the template, instead ofContext
. - In the template, there is a
{% csrf_token %}
template tag inside each POST form that targets an internal URL. - If you are not using
CsrfViewMiddleware
, then you must usecsrf_protect
on any views that use thecsrf_token
template tag, as well as those that accept the POST data.
DEBUG = True
in your Django settings file. Change that to False
, and only the initial error message will be displayed.
You can customize this page using the CSRF_FAILURE_VIEW setting.
Please help me…
Thanks
gebharch
0
3 Answers
0
Thanks for the bug report. I have created a ticket for the issue on github. I have schedule it for GitStack 1.4.1 which will be released as soon as possible.
0
Hi, I'm using version 1.4.1 and I have this issue too. I can't change the password.
Can anyone help me
0
Make sure to clear your browser cache if you used a previous version. We have made today a test for your on a clean windows machine and we were able to change the admin password.
Your Answer
Please login to post questions.