mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-10 05:47:48 +05:30
d32bfaa757
The session already exists in the database, so we don't need to save it again. Doing so results in the session used for the auth code hanging around in the database with nothing associated to it, while the access token is associated to a new session caused by the `save()` method creating a duplicate. Fixes #266.