We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
This is present in local builds and within the one-click deployment on Vercel.
collections/Users.ts
auth: true
auth: { tokenExpiration: 28800, cookies: { sameSite: 'None', secure: true, domain: process.env.COOKIE_DOMAIN, }, loginWithUsername: { allowEmailLogin: true, requireEmail: false, }, },
TypeError: Cannot read properties of undefined (reading 'auth')
https://github.com/payloadcms/payload/blob/main/templates/with-vercel-website/src/collections/Users/index.ts
area: core, area: templates
"payload": "^3.16.0" "next": "15.1.4"
The text was updated successfully, but these errors were encountered:
🚀 This is included in version v3.19.0
Sorry, something went wrong.
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
AlessioGr
Successfully merging a pull request may close this issue.
Describe the Bug
This is present in local builds and within the one-click deployment on Vercel.
collections/Users.ts
TypeError: Cannot read properties of undefined (reading 'auth')
Link to the code that reproduces this issue
https://github.com/payloadcms/payload/blob/main/templates/with-vercel-website/src/collections/Users/index.ts
Reproduction Steps
This is present in local builds and within the one-click deployment on Vercel.
Which area(s) are affected? (Select all that apply)
area: core, area: templates
Environment Info
The text was updated successfully, but these errors were encountered: