Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Require omniauth-rails_csrf_protection v2.0+ for Rails 8.2 compatibility (#2520)

Juan José Mata2e91453fcc0b
diff --git a/Gemfile b/Gemfile
index 45f750b250..9fbaa440db 100644
--- a/Gemfile
+++ b/Gemfile
@@ -92,7 +92,7 @@ gem "pdf-reader", "~> 2.12"
# OpenID Connect, OAuth & SAML authentication
gem "omniauth", "~> 2.1"
-gem "omniauth-rails_csrf_protection"
+gem "omniauth-rails_csrf_protection", ">= 2.0"
gem "omniauth_openid_connect"
gem "omniauth-google-oauth2"
gem "omniauth-github"
diff --git a/Gemfile.lock b/Gemfile.lock
index f0638f9ce3..dc669f1829 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -470,7 +470,7 @@ GEM
omniauth-oauth2 (1.8.0)
oauth2 (>= 1.4, < 3)
omniauth (~> 2.0)
- omniauth-rails_csrf_protection (1.0.2)
+ omniauth-rails_csrf_protection (2.0.1)
actionpack (>= 4.2)
omniauth (~> 2.0)
omniauth-saml (2.2.4)
@@ -906,7 +906,7 @@ DEPENDENCIES
omniauth (~> 2.1)
omniauth-github
omniauth-google-oauth2
- omniauth-rails_csrf_protection
+ omniauth-rails_csrf_protection (>= 2.0)
omniauth-saml (~> 2.1)
omniauth_openid_connect
ostruct