Hi, See http://jira.xwiki.org/jira/browse/XWIKI-3024 Thanks for reporting this. On Thu, Dec 11, 2008 at 5:05 PM, Lewis Denizen <[email protected]> wrote:
Hi xwiki-users,
In XWikiAuthServiceImpl.java, I see the following lines:
Line 521: String createuser = getParam("auth_createuser", context);
Line 500~517: protected String getParam(String name, XWikiContext context) { String param = ""; try { param = context.getWiki().getXWikiPreference(name, context); } catch (Exception e) { } if (param == null || "".equals(param)) { try { param = context.getWiki().Param("xwiki.authentication." + StringUtils.replace(name, "auth_", ".")); } catch (Exception e) { } } if (param == null) { param = ""; } return param; }
Which requires me to create a key called "xwiki.authentication..createuser" in the config - which is strange... Unless there are any side effects, would it be possible to request the StringUtils.replace() removed? Thanks again for a great release! _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne