Ticket #117 (new defect)

Opened 6 months ago

captcha sometimes display 'foobar' and then never validates

Reported by: Dyadya Zed Owned by:
Priority: major Milestone:
Component: plugins Version:
Keywords: captcha Cc:


In some cases captcha app display foobar on image and then never validates. I think problem is in this code, but couldn't understand for now how to fix it.


def solutions():

#import pdb #pdb.set_trace() session = get_request().session if not 'captcha_solutions' in session:

sessioncaptcha_solutions? = {}

return sessioncaptcha_solutions?

def render(captcha_id, output):

solution = solutions().get(captcha_id, 'foobar') ..... .....

Note: See TracTickets for help on using tickets.