Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit c113af9

Browse files
committed
Silently destroy session
1 parent 7418f5f commit c113af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/authfront.session_login/SessionLoginFrontend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function switchAction(\Psr\Http\Message\ServerRequestInterface &$requestI
218218

219219
AuthService::disconnect();
220220
$loggingResult = 2;
221-
session_destroy();
221+
@session_destroy();
222222
$x = new \Pydio\Core\Http\Response\SerializableResponseStream();
223223
$x->addChunk(new \Pydio\Core\Http\Message\LoggingResult($loggingResult));
224224
$responseInterface = $responseInterface->withBody($x);

0 commit comments

Comments
 (0)