fixes for hcaptcha, add to dmca form

This commit is contained in:
Kyle Drake 2020-11-26 01:45:23 -06:00
parent 79cdd06b19
commit 2821f513f1
9 changed files with 32 additions and 25 deletions

View file

@ -9,7 +9,7 @@ post '/contact' do
@errors << 'Please fill out all fields'
end
unless verify_hcaptcha
unless hcaptcha_valid?
@errors << 'Captcha was not filled out (or was filled out incorrectly)'
end

View file

@ -16,7 +16,7 @@ post '/dmca/contact' do
@errors << 'Please fill out all fields'
end
if !recaptcha_valid?
if !hcaptcha_valid?
@errors << 'Captcha was not filled out (or was filled out incorrectly)'
end