Relax recaptcha version (Closes: #907488)

This commit is contained in:
Lucas Kanashiro 2018-09-04 08:10:44 -03:00
parent d8db64134b
commit 92a74b6aaa
3 changed files with 28 additions and 0 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
gitlab (10.7.7+dfsg-2) UNRELEASED; urgency=medium
* Relax recaptcha version (Closes: #907488)
-- Lucas Kanashiro <lucas.kanashiro@collabora.com> Tue, 04 Sep 2018 08:14:13 -0300
gitlab (10.7.7+dfsg-1) experimental; urgency=medium
* New upstream version 10.7.7+dfsg (Fixes: CVE-2018-14364) (Closes: #904026)

View file

@ -0,0 +1,21 @@
From: Lucas Kanashiro <lucas.kanashiro@collabora.com>
Date: Tue, 4 Sep 2018 08:09:21 -0300
Subject: Relax recaptcha version
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 60d2709..0ab5c72 100644
--- a/Gemfile
+++ b/Gemfile
@@ -56,7 +56,7 @@ gem 'rack-oauth2', '~> 1.2', '>= 1.2.1'
gem 'jwt', '~> 1.5', '>= 1.5.6'
# Spam and anti-bot protection
-gem 'recaptcha', '~> 3.0', require: 'recaptcha/rails'
+gem 'recaptcha', '~> 4.11', require: 'recaptcha/rails'
gem 'akismet', '~> 2.0'
# Two-factor authentication

View file

@ -22,3 +22,4 @@ remove-bundle-analyzer.patch
fix-mail-room-path.patch
relax-ruby-version.pacth
fix-8-to-10-migration.patch
0025-Relax-recaptcha-version.patch