-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make clear_session not call the scope's clear session if using JWTs f…
…or session in the jwt feature Previously, if using Roda's session plugin and the Rodauth jwt feature, when the Rodauth clear_session was called for a request that should use JWT, it would call clear_session on the Roda scope. That is a mistake, because all Rodauth session information should be stored in the JWT in that case, not in a session cookie. This changes things so that Road scope clear_session is not called if JWTs are in use. It also makes it so that clear session does not call session.clear twice in the JWT case.
- Loading branch information
1 parent
4079fcc
commit b6f368b
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters