diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-03 21:49:01 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-03 21:49:01 +0200 |
commit | 0fac35686b28825da69c77f9a903e4e24a7036fa (patch) | |
tree | 173211151ad2b00b7f0e152b3ab7b9c767ceaed5 /include | |
parent | 5ae2d15dc065e89d139dc43d50ac129a557a04c7 (diff) | |
parent | 499b7de0d217e5e56819f34dea26cb5d395e2a0b (diff) | |
download | volse-hubzilla-0fac35686b28825da69c77f9a903e4e24a7036fa.tar.gz volse-hubzilla-0fac35686b28825da69c77f9a903e4e24a7036fa.tar.bz2 volse-hubzilla-0fac35686b28825da69c77f9a903e4e24a7036fa.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include')
-rw-r--r-- | include/api_auth.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/api_auth.php b/include/api_auth.php index 0acd4ac68..0818fa54b 100644 --- a/include/api_auth.php +++ b/include/api_auth.php @@ -85,8 +85,7 @@ function api_login(&$a){ else { continue; } -// requires security review -$record = null; + if($record) { $verified = \Zotlabs\Web\HTTPSig::verify('',$record['channel']['channel_pubkey']); if(! ($verified && $verified['header_signed'] && $verified['header_valid'])) { |