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: https://github.com/expressjs/session/pull/484v1.18.x
parent
504fd107c7
commit
020f0b8322
Loading…
Reference in New Issue