Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: possible panic if refresh token has a null session_id (#1822)
## What kind of change does this PR introduce? * Prior to the `auth.sessions` table being created, some refresh tokens can contain a null `session_id`. In those cases, attempting to use those refresh tokens to obtain a new session will result in a panic. * This PR creates a new session for those refresh tokens that do not have a `session_id` to prevent panics from happening. ## What is the current behavior? Please link any relevant issues here. ## What is the new behavior? Feel free to include screenshots if it includes visual changes. ## Additional context Add any other context or screenshots.
- Loading branch information