forum.coppermine-gallery.net

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
Code: [Select]
'login' => 'Administrators,Registered'
to this
Code: [Select]
'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!