aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot/Finger.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-26 18:45:47 -0700
committerredmatrix <git@macgirvin.com>2016-05-26 18:45:47 -0700
commit61304d80d23bf624d9ca13319d2c6c09fdd0d70e (patch)
tree5cdbbe3a20ebcf896f92daa4643a4768733ce072 /Zotlabs/Zot/Finger.php
parent1bce285eca9bf53044f3949a55fc434db2671b3a (diff)
downloadvolse-hubzilla-61304d80d23bf624d9ca13319d2c6c09fdd0d70e.tar.gz
volse-hubzilla-61304d80d23bf624d9ca13319d2c6c09fdd0d70e.tar.bz2
volse-hubzilla-61304d80d23bf624d9ca13319d2c6c09fdd0d70e.zip
track down some issues from the application logs
Diffstat (limited to 'Zotlabs/Zot/Finger.php')
-rw-r--r--Zotlabs/Zot/Finger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Zot/Finger.php b/Zotlabs/Zot/Finger.php
index 07798fbb1..229fda8bd 100644
--- a/Zotlabs/Zot/Finger.php
+++ b/Zotlabs/Zot/Finger.php
@@ -112,12 +112,12 @@ class Finger {
if($signed_token) {
$valid = rsa_verify('token.' . self::$token,base64url_decode($signed_token),$x['key']);
if(! $valid) {
- logger('invalid signed token: ' . $url . $rhs, LOGGER_NORMAL, LOG_WARN);
+ logger('invalid signed token: ' . $url . $rhs, LOGGER_NORMAL, LOG_ERR);
return $ret;
}
}
else {
- logger('No signed token from ' . $url . $rhs, LOGGER_NORMAL, LOG_WARN);
+ logger('No signed token from ' . $url . $rhs, LOGGER_NORMAL, LOG_WARNING);
// after 2017-01-01 this will be a hard error unless you over-ride it.
if((time() > 1483228800) && (! get_config('system','allow_unsigned_zotfinger')))
return $ret;