Bug 223738 - www/gitlab config/initializers/recaptcha.rb needs a update config
Summary: www/gitlab config/initializers/recaptcha.rb needs a update config
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Torsten Zuehlsdorff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-18 21:20 UTC by Otacílio de Araújo Ramos Neto
Modified: 2017-11-20 10:09 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (tz)


Attachments
patch to fix (1.48 KB, patch)
2017-11-18 21:20 UTC, Otacílio de Araújo Ramos Neto
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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! :)