Upgrade recaptcha to 5.4.1 to fix production error (#6681) [deploy]

* Use legacy 5.3.0 response param name

* Use latest recaptcha gem

* Remove additional space

* Revert verify_recaptcha workaround
This commit is contained in:
Andy Zhao 2020-03-18 05:27:48 -04:00 committed by GitHub
parent 20fd8cdb92
commit 3412883342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -613,7 +613,7 @@ GEM
rb-inotify (0.10.0)
ffi (~> 1.0)
rdoc (6.2.1)
recaptcha (5.4.0)
recaptcha (5.4.1)
json
redcarpet (3.5.0)
redis (4.1.3)

View file

@ -11,7 +11,7 @@ class FeedbackMessagesController < ApplicationController
send_slack_message
redirect_to "/feedback_messages"
else
flash[:notice] = "Make sure the forms are filled 🤖 "
flash[:notice] = "Make sure the forms are filled 🤖"
@previous_message = feedback_message_params[:message]
render "pages/report-abuse.html.erb"
end