This commit is contained in:
undefined committed 2024-11-05 09:02:20 +08:00
1 parent 8e31fb5b00
commit 9496f9c379
5 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -221,8 +221,8 @@ class SystemUserImportHandler extends SystemHandler {
const users = _users.split('\n');
const udocs: { email: string, username: string, password: string, displayName?: string, [key: string]: any; }[] = [];
const messages = [];
const mapping = {};
const groups: Record<string, string[]> = {};
const mapping = Object.create(null);
const groups: Record<string, string[]> = Object.create(null);
for (const i in users) {
const u = users[i];
if (!u.trim()) continue;