From f1c0034a18482ff85a1979fce94f3abd8622af0b Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 6 Jan 2022 21:09:18 +0000 Subject: more work on access tokens --- include/security.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/security.php') diff --git a/include/security.php b/include/security.php index 7f5f3193f..881adb818 100644 --- a/include/security.php +++ b/include/security.php @@ -170,6 +170,10 @@ function atoken_delete($atoken_id) { intval($c[0]['channel_id']), dbesc($atoken_xchan) ); + + q("update xchan set xchan_deleted = 1 where xchan_hash = '%s'", + dbesc($atoken_xchan) + ); } /** -- cgit v1.2.3