summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-05-08 09:02:45 +0200
committerdefault <nobody@localhost>2023-05-08 09:02:45 +0200
commite2e7bc2d713e469d5af61f58dc85c063bba94e42 (patch)
tree799482b6085d6807f0471798c6244cc3e6f770b0 /mastoapi.c
parent29fb145fc471034d563ec49d19f4a2da6e330ff1 (diff)
Added a source (web, mastoapi, etc) to lastlog_write().
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index b82ecfa..1b9ab09 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -854,7 +854,7 @@ int process_auth_token(snac *snac, const xs_dict *req)
logged_in = 1;
/* this counts as a 'login' */
- lastlog_write(snac);
+ lastlog_write(snac, "mastoapi");
srv_debug(2, xs_fmt("mastoapi auth: valid token for user %s", uid));
}