diff options
author | Mario <mario@mariovavti.com> | 2022-01-06 21:09:18 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-06 21:09:18 +0000 |
commit | f1c0034a18482ff85a1979fce94f3abd8622af0b (patch) | |
tree | 6a44d912c4d62ad2908591187bbec5ec4e63623e /include/security.php | |
parent | 7342cb81a3cffc1cd8ae3e32c2035e5c07376b53 (diff) | |
download | volse-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.php | 4 |
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) + ); } /** |