Browse Source

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

Fix type in CryptoSessionData
pull/7836/head
Morris Jobke 8 years ago
committed by GitHub
parent
commit
16f4d71efd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/private/Session/CryptoSessionData.php

2
lib/private/Session/CryptoSessionData.php

@ -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…
Cancel
Save