Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: choose correct CSRF cookie when multiple are set
Resolves an issue where, when multiple CSRF cookies are set, a random one would be used to verify the CSRF token. Now, regardless of how many conflicting CSRF cookies exist, if one of them is valid, the request will pass and clean up the cookie store. See #2121 See ory-corp/cloud#1786
- Loading branch information