Issue Details (XML | Word | Printable)

Key: MDL-15682
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicolas Connault
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

captcha notice found in logs

Created: 17/Jul/08 06:21 AM   Updated: 25/Sep/08 05:00 PM
Return to search
Component/s: Authentication
Affects Version/s: 1.9.2
Fix Version/s: 1.9.3

Database: Any
Participants: Eloy Lafuente (stronk7), Nicolas Connault and Petr Skoda
Security Level: None
QA Assignee: Eloy Lafuente (stronk7)
Resolved date: 25/Sep/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Was looking some apache log files (at moodle.org) when I found a lot of:

PHP Notice: Undefined index: recaptcha_challenge_field in /var/www/html/moodle/login/signup_form.php on line 142, referer: http://moodle.org/login/signup.php

Ciao :-)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Nicolas Connault added a comment - 24/Jul/08 08:49 PM
This should solve it. Please confirm, Eloy.

Petr Skoda added a comment - 29/Jul/08 02:59 PM
I think this is not correct:
function signup_captcha_enabled() { global $CFG; return isset($CFG->recaptchapublickey) && isset($CFG->recaptchaprivatekey) && get_config('auth/email', 'recaptcha'); }

there should be !empty() because there is empty string in it


Petr Skoda added a comment - 25/Sep/08 03:41 PM
isset() fixed, reclosing

Eloy Lafuente (stronk7) added a comment - 25/Sep/08 05:00 PM
Closing, thanks!