Skip to content

Conversation

@janbarasek
Copy link
Contributor

@janbarasek janbarasek commented Jan 5, 2021

  • bug fix
  • BC break? yes

User defined code (for logout function):

$this->userStorage->clearAuthentication(true);
$this->userStorage->setExpiration(null, true);

Mark user as unauthenticated, but an original identity kept stored in Session. I think when clearAuthentication(true) the identity must be removed.

@dg
Copy link
Member

dg commented Jan 5, 2021

Thanks

@dg dg merged commit 520b68f into nette:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants