Page 1 of 1

Set Captcha to come up after 3 login attempts in FEU

Posted: Sat Mar 03, 2012 7:24 pm
by kkreitz
My CMSMS and Modules are current with 1.10.3

I am using FEU and Custom Content to protect a page and would like to have captcha come up after a set number (1, 2 ,3) of failed login attempts.

I do not see this as a feature in FEU, solutions on the forums or anywhere else for CMSMS.

Is this easily done? If so how?

Thank You

Re: Set Captcha to come up after 3 login attempts in FEU

Posted: Sat Mar 03, 2012 9:54 pm
by jmcgin51
To my knowledge, this is not a feature of FEU or CC, and would therefore require that the module editor add the feature (probably would be a sponsored feature), or that you hack the source (not recommended as it renders your installation unsupported, and your changes will be lost during an upgrade in the future.

Re: Set Captcha to come up after 3 login attempts in FEU

Posted: Sat Mar 03, 2012 11:08 pm
by Wishbone
Might be possible, using a couple of clever UDTs.

Use a UDT in your site template to scan for 3 failed logins (see below). If OK, use nocaptcha=1. If violating, omit this parameter.

In the login template, you can detect a failure by passing $error, and with a UDT, log the failed attempts in the DB.

Re: Set Captcha to come up after 3 login attempts in FEU

Posted: Sun Mar 04, 2012 8:09 pm
by kkreitz
Thank you for your replies. I was hoping for a simpler solution and my client is no longer pressing the issue.

The logic of creating a couple of clever UDT's makes sense however my skills in this area are more of being able to edit verses create.