Commit f2db17e8 authored by Zot's avatar Zot

Merge branch 'dev' of https://framagit.org/zot/addons into dev

parents 62108d9d 193fe740
......@@ -864,6 +864,11 @@ function pubcrawl_item_mod_init($x) {
if(! $item_id)
http_status_exit(404, 'Not found');
$sigdata = \Zotlabs\Zot6\HTTPSig::verify(EMPTY_STR);
if($sigdata['portable_id'] && $sigdata['header_valid']) {
$portable_id = $sigdata['portable_id'];
observer_auth($portable_id);
}
$item_normal = " and item.item_hidden = 0 and item.item_type = 0 and item.item_unpublished = 0
and item.item_delayed = 0 and item.item_blocked = 0 ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment