From ddfd9390757175b8e7e53f3f26090218dfc2696f Mon Sep 17 00:00:00 2001 From: Benno Tielen Date: Tue, 1 Apr 2025 09:44:35 +0200 Subject: [PATCH] fix: set max login attempts --- src/collections/Users.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/collections/Users.ts b/src/collections/Users.ts index b20231b..f6ad145 100644 --- a/src/collections/Users.ts +++ b/src/collections/Users.ts @@ -14,7 +14,10 @@ export const Users: CollectionConfig = { de: "Benutzerkonten" } }, - auth: true, + auth: { + maxLoginAttempts: 10, + lockTime: 1000 * 30 + }, fields: [ { name: 'name',