-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add Proper CSRF Protection #22
Comments
Hey assign this me as hacktoberfest |
Done |
@1-ankush-1 dont hesitate to join the discord to post updates |
Resolved by #28 |
Please add proper forms csrf verification |
is there any issue |
Not apparent but https://github.com/Artlfmj/course-manager/blob/main/src/app.js#L149C1-L149C1 this means youre not checking to see if the csrf is correct |
oh ok let me fix that . |
Hey i tried that but something is causing the crsf token to regenerate again. i individually checked every Middleware still didn't find what is causing the issue. |
Ok take your time to check the issue |
hey you can assign this issue to someone else . i am not able to find what is causing the problem. |
Its ok, want to work on something else?
|
ok let me see the issues |
Implement Cross-Site Request Forgery (CSRF) protection in your Express.js application to enhance security and protect against CSRF attacks. CSRF is a type of attack where an attacker tricks a user into making an unintended request on a different website without their knowledge or consent. By implementing CSRF protection, you can ensure that requests to your application are only accepted from trusted sources.
The text was updated successfully, but these errors were encountered: