Commit 9217686a authored by Anno van Vliet's avatar Anno van Vliet Committed by daryl herzmann

UserImportExport plugin: users are created (#886)

When using the non-XEP import.
parent 90bfee79
......@@ -148,6 +148,11 @@ hr {
</div>
<div id="pageBody">
<p><b>2.6.2</b> -- October 2, 2017</p>
<ul>
<li>User is created, when not there.</li>
</ul>
<p><b>2.6.1</b> -- June 22, 2017</p>
<ul>
<li>[<a href='http://www.igniterealtime.org/issues/browse/OF-1355'>OF-1355</a>] - UserImportExport plugin: import should not fail when optional config is missing.</li>
......
......@@ -6,8 +6,8 @@
<name>User Import Export</name>
<description>Enables import and export of user data</description>
<author>Ryan Graham</author>
<version>2.6.1</version>
<date>06/22/2017</date>
<version>2.6.2</version>
<date>10/02/2017</date>
<minServerVersion>4.0.0</minServerVersion>
<adminconsole>
......
......@@ -8,7 +8,7 @@
</parent>
<groupId>org.igniterealtime.openfire.plugins</groupId>
<artifactId>userImportExport</artifactId>
<version>2.6.1</version>
<version>2.6.2</version>
<name>UserImportExport Plugin</name>
<description>Enables import and export of user data</description>
......
......@@ -232,11 +232,11 @@ public class OpenfireExporter implements InExporter {
}
}
if ((userName != null) && (password != null)) {
if (userName != null) {
try {
userName = Stringprep.nodeprep(userName);
if (isUserProviderReadOnly) {
if (!isUserProviderReadOnly && (password != null)) {
userManager.createUser(userName, password, name, email);
}
......
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