]> git.mxchange.org Git - friendica.git/commitdiff
port hubzillas OpenWebAuth - fix method call
authorrabuzarus <rabuzarus@t-online.de>
Wed, 20 Jun 2018 21:29:36 +0000 (23:29 +0200)
committerrabuzarus <rabuzarus@t-online.de>
Wed, 20 Jun 2018 21:29:36 +0000 (23:29 +0200)
src/Module/Owa.php

index c1948f3b648a0e4d2fcebb7f374f12920ec4bad3..306c525c062698bcdf88516d6f1b666b6700f356 100644 (file)
@@ -56,7 +56,7 @@ class Owa extends BaseModule
                                                if (DBM::is_result($contact)) {
                                                        // Try to verify the signed header with the public key of the contact record
                                                        // we have found.
-                                                       $verified = HTTPSig::verify('', $contact['pubkey']);
+                                                       $verified = HTTPSignature::verify('', $contact['pubkey']);
 
                                                        if ($verified && $verified['header_signed'] && $verified['header_valid']) {
                                                                logger('OWA header: ' . print_r($verified, true), LOGGER_DATA);