mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
fix
This commit is contained in:
5 files changed
+7
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user