fix(cli): fix-usernames command only fixes lowercase usernames (#2650)
This commit is contained in:
@@ -19,7 +19,7 @@ export const fixUsernames = command({
|
||||
|
||||
for (const user of credentialUsers) {
|
||||
if (!user.name) continue;
|
||||
if (user.name !== user.name.toLowerCase()) continue;
|
||||
if (user.name === user.name.toLowerCase()) continue;
|
||||
|
||||
await db
|
||||
.update(users)
|
||||
|
||||
Reference in New Issue
Block a user