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

Redirect on bad CSRF instead of presenting bad page (#14937) #16378

Merged
merged 1 commit into from Jul 8, 2021

Commits on Jul 8, 2021

  1. Redirect on bad CSRF instead of presenting bad page (go-gitea#14937)

    The current CSRF handler is a bit harsh with bad CSRF tokens on webpages
    I think we can be a little kinder and redirect to base page with a flash error
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored and 6543 committed Jul 8, 2021
    Copy the full SHA
    1502c81 View commit details
    Browse the repository at this point in the history