mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
don't delete user
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user