Commit 71fb39f0 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1100] Admin usernames are now made to be lowercase.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10008 b35dd754-fafc-0310-a699-88a17e54d16e
parent cfbcd33a
......@@ -157,7 +157,7 @@
if (errors.isEmpty()) {
String currentList = JiveGlobals.getXMLProperty("admin.authorizedUsernames");
final List users = new ArrayList(StringUtils.stringToCollection(currentList));
users.add(admin);
users.add(admin.toLowerCase());
String userList = StringUtils.collectionToString(users);
JiveGlobals.setXMLProperty("admin.authorizedUsernames", userList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment