mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 14:52:08 +01:00
feat: implement comprehensive CSRF protection
This commit is contained in:
@ -75,8 +75,8 @@ export async function POST(
|
||||
);
|
||||
} else {
|
||||
return NextResponse.json(
|
||||
{
|
||||
error: `Email already in use by a user in company: ${existingUser.company.name}. Each email address can only be used once across all companies.`
|
||||
{
|
||||
error: `Email already in use by a user in company: ${existingUser.company.name}. Each email address can only be used once across all companies.`
|
||||
},
|
||||
{ status: 400 }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user