fix: oauth
This commit is contained in:
parent
69d10ef429
commit
81399c59f7
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue