From e2e7bc2d713e469d5af61f58dc85c063bba94e42 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 8 May 2023 09:02:45 +0200 Subject: Added a source (web, mastoapi, etc) to lastlog_write(). --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastoapi.c') 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)); } -- cgit v1.2.3