diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-31 20:45:13 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-31 20:45:13 -0700 |
commit | b413beeb365ea09ac79f57e68dbb6ac49b5ea056 (patch) | |
tree | 0832ade4ff0c9c98d9ae593e41cb4d09a22fbda2 /include | |
parent | 0cf5536e902aa9e74c7ca8f62bec3992f6f6a276 (diff) | |
download | volse-hubzilla-b413beeb365ea09ac79f57e68dbb6ac49b5ea056.tar.gz volse-hubzilla-b413beeb365ea09ac79f57e68dbb6ac49b5ea056.tar.bz2 volse-hubzilla-b413beeb365ea09ac79f57e68dbb6ac49b5ea056.zip |
add server-to-server magic auth to dav and cdav controllers
Diffstat (limited to 'include')
-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']; |