From 10587e3a842d7870c94bd52c23dedc5abc114bdc Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 25 Jan 2019 10:49:17 +0100 Subject: return false if http signatue is not valid --- Zotlabs/Lib/Libzot.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 167e2d67d..1440a9691 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -308,8 +308,7 @@ class Libzot { if(! $hsig_valid) { logger('http signature not valid: ' . print_r($hsig,true)); - /// @FIXME $result is undefined - return $result; + return false; } -- cgit v1.2.3