This commit is contained in:
Mike Cao committed 2023-02-28 20:04:17 -08:00
commit 4cb5a14de9
4 files changed
+47 -52

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ export default async (
const { username, password, id } = req.body;
const existingUser = await getUser({ username });
const existingUser = await getUser({ username }, { showDeleted: true });
if (existingUser) {
return badRequest(res, 'User already exists');