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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The user still persists after logout. Only two times the user will be null (in dev) after logout. The final output will be the old user data.
user
null
https://github.com/GeorgeHulpoi/payload-use-auth-bug
useAuth
area: ui
Binaries: Node: 20.9.0 npm: N/A Yarn: N/A pnpm: N/A Relevant Packages: payload: 3.17.1 next: 15.1.5 @payloadcms/db-mongodb: 3.17.1 @payloadcms/email-nodemailer: 3.17.1 @payloadcms/graphql: 3.17.1 @payloadcms/next/utilities: 3.17.1 @payloadcms/payload-cloud: 3.17.1 @payloadcms/richtext-lexical: 3.17.1 @payloadcms/translations: 3.17.1 @payloadcms/ui/shared: 3.17.1 react: 19.0.0 react-dom: 19.0.0 Operating System: Platform: win32 Arch: x64 Version: Windows 10 Pro Available memory (MB): 14189 Available CPU cores: 16
The text was updated successfully, but these errors were encountered:
paulpopus
No branches or pull requests
Describe the Bug
The
user
still persists after logout. Only two times the user will benull
(in dev) after logout. The final output will be the olduser
data.Link to the code that reproduces this issue
https://github.com/GeorgeHulpoi/payload-use-auth-bug
Reproduction Steps
user
fromuseAuth
is the data before logout (check console).Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
The text was updated successfully, but these errors were encountered: