summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-11-08 18:15:51 +0100
committerdefault <nobody@localhost>2023-11-08 18:15:51 +0100
commitb199f223e41a56c9c8e6dcf353cb64123d378879 (patch)
treea5bfa0f2f1f41525e5ab5cc006812d843b351bad /mastoapi.c
parent42629c9742beda51675cc8a9fef4b9f349ff9dd7 (diff)
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)
/* this counts as a 'login' */
lastlog_write(snac, "mastoapi");
- srv_debug(2, xs_fmt("mastoapi auth: valid token for user %s", uid));
+ srv_debug(2, xs_fmt("mastoapi auth: valid token for user '%s'", uid));
}
else
- srv_log(xs_fmt("mastoapi auth: corrupted token %s", tokid));
+ srv_log(xs_fmt("mastoapi auth: corrupted token '%s'", tokid));
}
else
- srv_log(xs_fmt("mastoapi auth: invalid token %s", tokid));
+ srv_log(xs_fmt("mastoapi auth: invalid token '%s'", tokid));
}
return logged_in;