Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added csrf tokens to all forms #683

Open
wants to merge 2 commits into
base: 3.x
Choose a base branch
from
Open

Added csrf tokens to all forms #683

wants to merge 2 commits into from

Conversation

alexz707
Copy link

Since a really really long time (since 2012!!!!) CSRF has been commented out and there was no fix until now.
The descriptions says CSRF is implemented and complete! That is simply WRONG and is a security nightmare!!

I implemented the basic CSRF tokens which take the settings from the config.
Maybe the naming of this setting(s) has to be changed because it's not only used in the login form but in all the others except the registration form.
That can be discussed and added later on. For now it would be good if anyone of the maintainer(@EvanDotPro , @weierophinney , @Danielss89 ) could merge and release a new package.
Thanks :)

@stijnhau
Copy link

stijnhau commented Jan 2, 2019

I like the idea but i think the option should already be seprated per timeout.
Because if it's accepted now it migght stay like that forever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants