diff options
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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; |