]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Owa.php
Merge pull request #5907 from nupplaphil/goaway_to_redirectto
[friendica.git] / src / Module / Owa.php
index 1d6b1332dcec81bdcf8ff5bd8aba3111343338c4..7a5fe128c8424cea51c99de816e95dfae501a01b 100644 (file)
@@ -54,7 +54,7 @@ class Owa extends BaseModule
                                                if (DBA::isResult($contact)) {
                                                        // Try to verify the signed header with the public key of the contact record
                                                        // we have found.
-                                                       $verified = HTTPSignature::verify('', $contact['pubkey']);
+                                                       $verified = HTTPSignature::verifyMagic($contact['pubkey']);
 
                                                        if ($verified && $verified['header_signed'] && $verified['header_valid']) {
                                                                logger('OWA header: ' . print_r($verified, true), LOGGER_DATA);