Merge pull request #7824 from nextcloud/fix-type-in-CryptoSessionData
Fix type in CryptoSessionData
This commit is contained in:
commit
16f4d71efd
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue