Bug 223738

Summary: www/gitlab config/initializers/recaptcha.rb needs a update config
Product: Ports & Packages Reporter: Otacílio de Araújo Ramos Neto <otacilio.neto>
Component: Individual Port(s)Assignee: Torsten Zuehlsdorff <tz>
Status: Closed FIXED    
Severity: Affects Some People CC: swills
Priority: --- Flags: bugzilla: maintainer-feedback? (tz)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to fix none

Description Otacílio de Araújo Ramos Neto 2017-11-18 21:20:46 UTC
Created attachment 188100 [details]
patch to fix

It is not possible to log in and logout in gitlab when using the most current versions of recaptcha. This happens due to a change in the configuration parameters. More explanations here:

https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md
https://stackoverflow.com/questions/40916905/rails-server-crashes-due-to-captcha

The attached patch addresses the issue
Comment 1 Steve Wills freebsd_committer freebsd_triage 2017-11-20 01:52:44 UTC
I ran into this issue too, patch looks good.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-11-20 10:08:46 UTC
A commit references this bug:

Author: tz
Date: Mon Nov 20 10:08:22 UTC 2017
New revision: 454536
URL: https://svnweb.freebsd.org/changeset/ports/454536

Log:
  www/gitlab: Adjust recaptcha config

  When using most current recaptcha version it was no longer possible to log in
  because of a change in configuration parameter. The patch fixes this issue.

  PR:           223738
  Submitted by: otacilio.neto@bsd.com.br
  Reviewed by:  swills

Changes:
  head/www/gitlab/Makefile
  head/www/gitlab/files/patch-lib_gitlab_recaptcha.rb
Comment 3 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-11-20 10:09:46 UTC
Committed, thanks! :)