From e1252368244299c3e0b96747ccbdb5fea2002c76 Mon Sep 17 00:00:00 2001 From: Matthew Oliveira Date: Wed, 13 Dec 2017 20:43:51 -0500 Subject: [PATCH] #446 Unset the user outside the conditional. --- .../DrupalExtension/Manager/DrupalAuthenticationManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drupal/DrupalExtension/Manager/DrupalAuthenticationManager.php b/src/Drupal/DrupalExtension/Manager/DrupalAuthenticationManager.php index d9c21b10..9f9f98b1 100644 --- a/src/Drupal/DrupalExtension/Manager/DrupalAuthenticationManager.php +++ b/src/Drupal/DrupalExtension/Manager/DrupalAuthenticationManager.php @@ -133,7 +133,7 @@ public function fastLogout() $session = $this->getSession(); if ($session->isStarted()) { $session->reset(); - $this->userManager->setCurrentUser(false); } + $this->userManager->setCurrentUser(false); } }