Auth works but not with cookie
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -13,6 +13,11 @@ const Users: CollectionConfig = {
|
||||
verify: false, // Require email verification before being allowed to authenticate
|
||||
maxLoginAttempts: 5, // Automatically lock a user out after X amount of failed logins
|
||||
lockTime: 600 * 1000, // Time period to allow the max login attempts
|
||||
cookies: {
|
||||
secure: true,
|
||||
sameSite: "lax",
|
||||
domain: process.env.ASTRO_HOST
|
||||
},
|
||||
},
|
||||
fields: [
|
||||
// Email added by default
|
||||
|
Reference in New Issue
Block a user