Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: session not persisting to database in some scenarios
In some edge cases (e.g. SSO plugin redirecting the user immediately), with modern browsers, the request is never "completed" for speed. This causes a condition where the session object never persists to the database, even though it has changed. This added line forces a db persist on a successful login. Context: expressjs/session#484
- Loading branch information