aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-06 21:09:18 +0000
committerMario <mario@mariovavti.com>2022-01-06 21:09:18 +0000
commitf1c0034a18482ff85a1979fce94f3abd8622af0b (patch)
tree6a44d912c4d62ad2908591187bbec5ec4e63623e /include/security.php
parent7342cb81a3cffc1cd8ae3e32c2035e5c07376b53 (diff)
downloadvolse-hubzilla-f1c0034a18482ff85a1979fce94f3abd8622af0b.tar.gz
volse-hubzilla-f1c0034a18482ff85a1979fce94f3abd8622af0b.tar.bz2
volse-hubzilla-f1c0034a18482ff85a1979fce94f3abd8622af0b.zip
more work on access tokens
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php4
1 files changed, 4 insertions, 0 deletions
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)
+ );
}
/**