Skip to content
Snippets Groups Projects
Unverified Commit 16f4d71e authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #7824 from nextcloud/fix-type-in-CryptoSessionData

Fix type in CryptoSessionData
parents 3dc7d0fb fe0dbe7f
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ class CryptoSessionData implements \ArrayAccess, ISession {
}
protected function initializeSession() {
$encryptedSessionData = $this->session->get(self::encryptedSessionName);
$encryptedSessionData = $this->session->get(self::encryptedSessionName) ?: '';
try {
$this->sessionValues = json_decode(
$this->crypto->decrypt($encryptedSessionData, $this->passphrase),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment