Changeset 33179 for main


Ignore:
Timestamp:
2019-06-21T14:26:48+12:00 (5 years ago)
Author:
kjdon
Message:

making recaptcha response string public so others can use it

File:
1 edited

Legend:

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

    r32944 r33179  
    6767  protected static final int ERROR_MISSING_PARAMS = -19;
    6868  protected static final int ERROR_SOMETHING_WRONG = -20;
    69  
     69
     70  // recaptcha
    7071    protected static final HashMap<Integer, String> _errorKeyMap;
    7172    static
     
    183184  protected static final String EDIT_ENABLED_PARAM = "editEnabled";
    184185  protected static final String AUTHPAGE_PARAM = "authpage";
    185   protected static final String RECAPTCHA_RESPONSE_PARAM = "g-recaptcha-response";
     186  public static final String RECAPTCHA_RESPONSE_PARAM = "g-recaptcha-response";
    186187 
    187188    protected String _recaptchaSiteKey = null;
     
    573574            groups = userInformation.getAttribute(GSXML.GROUPS_ATT);
    574575        }
    575         logger.error("username="+username+", groups = "+groups);
     576        logger.debug("username="+username+", groups = "+groups);
    576577        if ((userInformation == null || username == null) && _userOpList.contains(op))
    577578        {
Note: See TracChangeset for help on using the changeset viewer.