mirror of
https://github.com/documenso/documenso.git
synced 2026-07-21 07:23:37 +10:00
fix: refactor
This commit is contained in:
@@ -29,7 +29,7 @@ export default async function auth(req: NextApiRequest, res: NextApiResponse) {
|
|||||||
}),
|
}),
|
||||||
await prisma.userSecurityAuditLog.create({
|
await prisma.userSecurityAuditLog.create({
|
||||||
data: {
|
data: {
|
||||||
userId: userId,
|
userId,
|
||||||
ipAddress,
|
ipAddress,
|
||||||
userAgent,
|
userAgent,
|
||||||
type: UserSecurityAuditLogType.SIGN_IN,
|
type: UserSecurityAuditLogType.SIGN_IN,
|
||||||
|
|||||||
Reference in New Issue
Block a user