+ Reply to Thread
Results 1 to 1 of 1

Thread: Installing 'Captcha' plugin and configuring it to be available for login

  1. #1
    lgp171188 is offline Roundcube Newcomer
    Join Date
    Mar 2010
    Posts
    2
    Downloads
    0
    Uploads
    0

    Question Installing 'Captcha' plugin and configuring it to be available for login

    Hi all,
    I am in the process of setting up 'Roundcube' webmail for my institution.For now I am setting up and configuring things on a local testbed. I wanted to have captcha challenge for login, so downloaded 'Captcha' plugin and did these:
    1. Added 'captcha' to the list of plugins in config/main.inc.php
    Code:
    $rcmail_config['plugins'] = array('captcha');
    2. Copied plugins/captcha/config/config.inc.php.dist to plugins/captcha/config/config.inc.php.

    3. Edited it so that it looks like:
    Code:
    <?php
    
    /* captcha plugin */
    
    /* Captcha challenge to enter authenticated state */
    $rcmail_config['captcha_auth'] = FALSE;
    
    /* Define below pages where a check should be performed in not authenticated state */
    $rcmail_config['captcha_page'] = array("contactus","recpw","register","login");
    
    /* Textual Captcha */
    $rcmail_config['captcha_onclick'] = 'riddle'; // entity_encoded or riddle
    
    ?>
    But I am getting the CAPTCHA challenge when I open the webmail, this is what I get:


    and on passing the CAPTCHA test, I get the login page with captcha and on refreshing the page, the CAPTCHA disappears from the login page.

    I can understand that it is happening so because, the CAPTCHA challenge has already been passed. But how do I configure Captcha plugin to display CAPTCHA only in the login page and to get rid of the CAPTCHA page that turns up on opening the webmail?
    Attached Images

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts