diff --git a/lib/Controller/LoginController.php b/lib/Controller/LoginController.php index 1f3f7761..982f6159 100644 --- a/lib/Controller/LoginController.php +++ b/lib/Controller/LoginController.php @@ -511,7 +511,6 @@ public function code(string $state = '', string $code = '', string $scope = '', // remove code login session values $this->session->remove(self::STATE); - $this->session->remove(self::REDIRECT_AFTER_LOGIN); $this->session->remove(self::NONCE); // Set last password confirm to the future as we don't have passwords to confirm against with SSO