Changeset 25734

Show
Ignore:
Timestamp:
05.06.2012 10:09:42 (7 years ago)
Author:
sjm84
Message:

Adding a fix for reCaptcha not working. Not completely happy with it as it relies on a timeout, but it will do for now

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/Authentication.java

    r25725 r25734  
    419419                try 
    420420                { 
    421                     //If this line throws an exception then we'll assume the user has problems with their firewall 
     421                    //If this line throws an exception then we'll assume the user has a firewall that is too restrictive 
     422                    //(or that they're not connected to the Internet) to allow access to google services. 
     423                    //In this situation we won't use the recaptcha test. 
    422424                    reCaptcha.checkAnswer(request.getAttribute("remoteAddress"), "", ""); 
    423425