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

Create HTML page for Invalid CSRF token #611

Closed
adamjez opened this issue Jun 5, 2018 · 1 comment
Closed

Create HTML page for Invalid CSRF token #611

adamjez opened this issue Jun 5, 2018 · 1 comment

Comments

@adamjez
Copy link
Contributor

adamjez commented Jun 5, 2018

As @exyi pointed out in #610 (review) simple page with more information instead single message would be nice.

Maybe it would be even nicer to show some more info than just "invalid token". What about a simple page that would explain that it's probably caused by new keys on the server (for devs/admins) and that it's not a big deal and you can just clear cookies (with a button to do that, for users of the broken apps)

@exyi
Copy link
Member

exyi commented Sep 6, 2019

This is probably unnecessary, since DotVVM can now automatically fetch new token when the validation fails. Note that it will try to do that even though the experimental feature "lazy CSRF tokens" is not enabled.

@exyi exyi closed this as completed Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants