Skip to content

Commit 8a93263

Browse files
authored
Merge pull request #24554 from nextcloud/backport/24550/stable19
[stable19] Generate a new session id if the decrypting the session data fails
2 parents 2ade35f + ca917c5 commit 8a93263

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/private/Session/CryptoSessionData.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ protected function initializeSession() {
8787
);
8888
} catch (\Exception $e) {
8989
$this->sessionValues = [];
90+
$this->regenerateId(true, false);
9091
}
9192
}
9293

0 commit comments

Comments
 (0)