From dfa2c8743ff61efb56caec19c09beda1442012ae Mon Sep 17 00:00:00 2001 From: Enguerrand Ozano Date: Sat, 28 Feb 2026 20:28:20 +0100 Subject: [PATCH] Fix params/searchParams types for Next.js app router --- payload/collections/Users.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/payload/collections/Users.ts b/payload/collections/Users.ts index 5fd6a98..244e5a7 100644 --- a/payload/collections/Users.ts +++ b/payload/collections/Users.ts @@ -2,7 +2,9 @@ import type { CollectionConfig } from 'payload'; export const Users: CollectionConfig = { slug: 'users', - auth: true, + auth: { + maxLoginAttempts: 0, + }, admin: { useAsTitle: 'email', },