diff options
author | Mario <mario@mariovavti.com> | 2021-12-18 19:09:15 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-12-18 19:09:15 +0000 |
commit | 5aefe0b74f00b199a1f690c1787d26e833d3a2d5 (patch) | |
tree | 11f0ffaeb43bae7e73e2947381198f2b2262ad21 /include/security.php | |
parent | 9c79b5be77da7e5626ca7f0671fe5ed9b1f9c955 (diff) | |
download | volse-hubzilla-5aefe0b74f00b199a1f690c1787d26e833d3a2d5.tar.gz volse-hubzilla-5aefe0b74f00b199a1f690c1787d26e833d3a2d5.tar.bz2 volse-hubzilla-5aefe0b74f00b199a1f690c1787d26e833d3a2d5.zip |
guest token xchan_network = "token" and remove permission checks since the guest tokens are now added to the abook automatically
Diffstat (limited to 'include/security.php')
-rw-r--r-- | include/security.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php index f02fb8023..7f5f3193f 100644 --- a/include/security.php +++ b/include/security.php @@ -128,7 +128,7 @@ function atoken_xchan($atoken) { 'xchan_hash' => substr($c['channel_hash'], 0, 16) . '.' . $atoken['atoken_guid'], 'xchan_name' => $atoken['atoken_name'], 'xchan_addr' => 'guest:' . $atoken['atoken_name'] . '@' . App::get_hostname(), - 'xchan_network' => 'unknown', + 'xchan_network' => 'token', 'xchan_url' => z_root() . '/guest/' . substr($c['channel_hash'], 0, 16) . '.' . $atoken['atoken_guid'], 'xchan_hidden' => 1, 'xchan_photo_mimetype' => 'image/png', |