Skip to content

Fix auth persistence when reloading#38

Merged
Studio-18 merged 1 commit into
mainfrom
codex/fix-login-persistence-issue
Oct 26, 2025
Merged

Fix auth persistence when reloading#38
Studio-18 merged 1 commit into
mainfrom
codex/fix-login-persistence-issue

Conversation

@Studio-18
Copy link
Copy Markdown
Collaborator

Summary

  • guard against invalid cached auth user data when rehydrating from localStorage
  • accept either a user or driver object from the login response so persistence works with current API payloads

Testing

  • npm run lint (fails: /workspace/jason-driver-FE/vite.config.js:4:14 error 'process' is not defined no-undef)

https://chatgpt.com/codex/tasks/task_e_68fd86bb2eb8832895dfdbbef689b43b

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 26, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-10-26 02:32 UTC

@Studio-18 Studio-18 merged commit f5e6f5e into main Oct 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant