Page 1 of 1

Problem getting Captcha to work

Posted: Thu Nov 12, 2020 11:32 pm
by cpaschen
I'm trying to get captcha set-up on my first list.

When I go to Configure CAPTCHA Options, select reCaptcha v3, I must use reCaptcha Mailhide Settings; however, Mailhide has been deprecated by Google and v3 in Dada won't work without mailhide.

Question1: is there an alternative solution being added to hide email addresses (i.e. via javascript, etc.) to take the place of Mailhide?

So ... I try to use reCaptcha v2 ...
When I enter my v2 keys and do a test I get:

reCAPTCHA v2 Configuration Failed:
Can't locate Params/ in @INC (you may need to install the Params::Validate module) ....... Compilation failed in require at /var/www/vhosts/.../installer/lib/ line 4873

Can anyone help me get the reCaptcha actually working?
(why might it be missing modules?)

Re: Problem getting Captcha to work

Posted: Sat Nov 21, 2020 2:52 am
by cpaschen
Well, I've now found out how to install the additional bundle files; however, I'm locked out of the admin.

When trying to log in to the Administration of the list, in the login area I can select the Mailing List and enter my root password; however, it is displaying a reCaptcha box with the error:
ERROR for site owner:
Invalid domain for site key
Which I know I need to go back and adjust the configurations of the captcha; however, I can't seem to find any way to do that because it won't let me in to the admin to make the changes.

I've tried to look for files to make the changes (per: ... s.pod.html), but I have no 'outside configuration file' that I can find. No '.data_config' directory. Additionally, I looked for the /example directory and it is not anywhere in my installation. And neither is /extras/examplees/.

I also uncompressed the downloaded Dada Pro installation file on my local machine and see no 'example' folders their either.

Can you PLEASE tell me HOW I can temporarily disable captcha within dada mail long enough to go back in and re-set the recaptcha key values?

Re: Problem getting Captcha to work

Posted: Sun Nov 22, 2020 11:12 pm
by cpaschen
Got this one resolved also.
For anyone else having this issue ... just re-enable the installation folder (per instructions in the doc) and go through that again and update the captcha details and test, then finish the installation and it should work.
(of course if you have overriden any of the setup/config manually then you will need to re-apply those.

Also, it looks like there isn't any alternative to MailHide, and MailHide is no loner supported, so it looks like we're without a solution for this functionality :-(

Just have to stay with reCaptcha v2.

Re: Problem getting Captcha to work

Posted: Mon Nov 23, 2020 7:57 pm
by dadamail
Mailhide and reCAPTCHA v3 are two totally separate things, and you don't need one for the other. I'm not sure where that mixup is coming from.

I don't use Mailhide myself, and no one has reported it's removal. I honestly never really liked it, so I'll open up an issue to remove support for it, since it's totally useless to be a part of the app.

Not having a way for just anyone to read an email address on a public archive - even with some defense against it, may be not a bad thing, so I don't know if I'm going to explore alternatives right now.