coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: recman on September 24, 2007, 08:56:32 AM

Title: Remove Captcha at login?
Post by: recman on September 24, 2007, 08:56:32 AM
I use Captcha 2.0 so that no robots should add a lots of comments. But I dont want the Captcha at the login-page, anyone know how to remove this the best way?
Title: Re: Remove Captcha at login?
Post by: Sami on September 24, 2007, 09:42:58 AM
Edit codebase.php
find captcha_page_start() function there you'll find $CAPTCHA_DISABLE array (#line 133) , now set this

'login' => 'Administrators,Registered'

to this

'login' => 'Administrators,Registered,Guests'

this will disable Captcha for login page under regular galleries , if you bridged your gallery to any app then you need to put the name of anonymous group of that app
Title: Re: Remove Captcha at login?
Post by: recman on September 24, 2007, 10:33:45 AM
Thanks Sami, worked great!