Skip to content

Improve Error Handling in CSRF Middleware Storage #3020

Open
@coderabbitai

Description

There is a need to enhance error handling in the CSRF middleware, specifically within the files middleware/csrf/session_manager.go and middleware/csrf/storage_manager.go. This issue was identified during a discussion in PR #3016. Improving this could involve refactoring the error handling logic to provide more robust and informative error responses.

For more context, see the discussion here: #3016 (comment)

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions