kopia lustrzana https://github.com/nextcloud/social
oops, we're not sure the key exists.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/251/head
rodzic
4bda4a242e
commit
df4fbf9589
|
@ -270,7 +270,7 @@ class SignatureService {
|
|||
$estimated = $this->generateEstimatedSignature($headers, $request);
|
||||
|
||||
$algorithm = 'sha256';
|
||||
if ($sign['algorithm'] === 'rsa-sha256') {
|
||||
if ($this->get('algorithm', $sign, '') === 'rsa-sha256') {
|
||||
$algorithm = 'sha256';
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue