Skip to content

Commit

Permalink
Use syslog
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMD committed Mar 27, 2024
1 parent c795f77 commit 67f93cb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1256,10 +1256,9 @@ int do_authentication(const cfg_t *cfg, const device_t *devices,
}
r = fido_assert_verify(assert, 0, pk.type, pk.ptr);
if (r == FIDO_OK) {
pam_syslog(pamh, LOG_INFO,
"Successful FIDO authentication with publicKey %s (idx "
"%u)",
devices[i].publicKey, i);
syslog(LOG_AUTHPRIV | LOG_INFO,
"Successful FIDO authentication with publicKey %s (idx %u)",
devices[i].publicKey, i);
retval = 1;
goto out;
}
Expand Down

0 comments on commit 67f93cb

Please sign in to comment.