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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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), |
|
|
|
|