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

fix(csrf): dont attempt to create CSRF token when key is not defined #1280

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

GeorgeMac
Copy link
Contributor

We're currently generating and setting the CSRF token to empty string when a key is not configured.

This ensures we only generate and set a token if configured to do so.

@GeorgeMac GeorgeMac requested a review from a team as a code owner January 20, 2023 16:37
@markphelps markphelps added the automerge Used by Kodiak bot to automerge PRs label Jan 20, 2023
@kodiakhq kodiakhq bot merged commit 4902107 into main Jan 20, 2023
@kodiakhq kodiakhq bot deleted the gm/csrf-dont-generate branch January 20, 2023 16:42
markphelps added a commit that referenced this pull request Jan 20, 2023
…into auth-expire-self

* 'auth-expire-self' of https://github.com/flipt-io/flipt:
  fix(csrf): dont attempt to create CSRF token when key is not defined (#1280)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Used by Kodiak bot to automerge PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants