don't delete user

This commit is contained in:
miloschwartz
2025-11-06 16:48:53 -08:00
parent fce887436d
commit 2a7529c39e

View File

@@ -365,9 +365,9 @@ export async function validateOidcCallback(
if (!existingUserOrgs.length) {
// delete the user
await db
.delete(users)
.where(eq(users.userId, existingUser.userId));
// await db
// .delete(users)
// .where(eq(users.userId, existingUser.userId));
return next(
createHttpError(
HttpCode.UNAUTHORIZED,