Mark method as deprecated

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2022-09-13 13:06:54 +02:00 committed by GitHub
parent 01e2a26749
commit ef31396727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -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);

View file

@ -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;
}
}