fix: oauth

This commit is contained in:
diced 2022-11-03 20:42:43 -07:00
parent 69d10ef429
commit 81399c59f7
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -116,7 +116,7 @@ export const withOAuth =
return res.redirect('/dashboard');
} else if (existing) {
return res.forbid('username is already taken');
return res.badRequest('username is already taken');
}
const nuser = await prisma.user.create({