diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php index 3a6558df0d6..741b8fe0c2d 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -339,7 +339,7 @@ class PublicKeyTokenProvider implements IProvider { } /** - * @depreacted Fallback for instances where the secret might not have been set by accident + * @deprecated Fallback for instances where the secret might not have been set by accident */ private function hashTokenWithEmptySecret(string $token): string { return hash('sha512', $token); diff --git a/lib/private/Security/Crypto.php b/lib/private/Security/Crypto.php index ece69d6deeb..aeeafcc271c 100644 --- a/lib/private/Security/Crypto.php +++ b/lib/private/Security/Crypto.php @@ -133,7 +133,6 @@ class Crypto implements ICrypto { // Retry with empty secret as a fallback for instances where the secret might not have been set by accident return $this->decryptWithoutSecret($authenticatedCiphertext, ''); } - throw $e; } }