Reviewed. This is OK.
Revert "may be exploitable in current form - awaiting review"
This reverts commit 7bff60edac.
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
Reference in New Issue
Block a user