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!