Skip to content

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Jun 8, 2022

Reported in #214 (comment)

  • fix Session::loggedIn() returns wrong result when the user was deleted.

Steps to Reproduce:

  1. register a user
  2. login as the user with remember me
  3. delete the user from the database
  4. access the site

@kenjis kenjis added the bug Something isn't working label Jun 8, 2022
@kenjis kenjis force-pushed the fix-add-checks-for-deleted-users branch from 4f1a5cd to 57e0e34 Compare June 8, 2022 23:35
@kenjis kenjis force-pushed the fix-add-checks-for-deleted-users branch from 57e0e34 to 53fabae Compare June 8, 2022 23:38
@kenjis kenjis merged commit 03c505d into codeigniter4:develop Jun 9, 2022
@kenjis kenjis deleted the fix-add-checks-for-deleted-users branch June 9, 2022 04:10
Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants