mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
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:
parent
01e2a26749
commit
ef31396727
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue