diff options
Diffstat (limited to 'include/api_auth.php')
-rw-r--r-- | include/api_auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api_auth.php b/include/api_auth.php index 4b1aae642..01a4599aa 100644 --- a/include/api_auth.php +++ b/include/api_auth.php @@ -50,7 +50,7 @@ function api_login(&$a){ /* Signature authentication */ - if(array_key_exists($head,$_SERVER) && substr(trim($_SERVER[$head]),0,5) === 'Signature') { + if(array_key_exists($head,$_SERVER) && substr(trim($_SERVER[$head]),0,9) === 'Signature') { $sigblock = \Zotlabs\Web\HTTPSig::parse_sigheader($_SERVER[$head]); if($sigblock) { $keyId = $sigblock['keyId']; |