summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar default2023-11-08 18:15:51 +0100
committerGravatar default2023-11-08 18:15:51 +0100
commitb199f223e41a56c9c8e6dcf353cb64123d378879 (patch)
treea5bfa0f2f1f41525e5ab5cc006812d843b351bad /mastoapi.c
parentShow the "Search results for #tag" title. (diff)
downloadsnac2-b199f223e41a56c9c8e6dcf353cb64123d378879.tar.gz
snac2-b199f223e41a56c9c8e6dcf353cb64123d378879.tar.xz
snac2-b199f223e41a56c9c8e6dcf353cb64123d378879.zip
Tag indexes are also purged.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 55f685c..0c94dd9 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1028,13 +1028,13 @@ int process_auth_token(snac *snac, const xs_dict *req)
1028 /* this counts as a 'login' */ 1028 /* this counts as a 'login' */
1029 lastlog_write(snac, "mastoapi"); 1029 lastlog_write(snac, "mastoapi");
1030 1030
1031 srv_debug(2, xs_fmt("mastoapi auth: valid token for user %s", uid)); 1031 srv_debug(2, xs_fmt("mastoapi auth: valid token for user '%s'", uid));
1032 } 1032 }
1033 else 1033 else
1034 srv_log(xs_fmt("mastoapi auth: corrupted token %s", tokid)); 1034 srv_log(xs_fmt("mastoapi auth: corrupted token '%s'", tokid));
1035 } 1035 }
1036 else 1036 else
1037 srv_log(xs_fmt("mastoapi auth: invalid token %s", tokid)); 1037 srv_log(xs_fmt("mastoapi auth: invalid token '%s'", tokid));
1038 } 1038 }
1039 1039
1040 return logged_in; 1040 return logged_in;