Skip to content

Commit

Permalink
Log user and rhost
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Lambers committed Oct 17, 2024
1 parent 0cec70c commit 20d8968
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pam_weblogin.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, UNUSED int flags, int arg
log_message(LOG_INFO, "cfg->cache_duration: '%d'\n", cfg->cache_duration);
log_message(LOG_INFO, "cfg->retries: '%d'\n", cfg->retries);
*/
log_message(LOG_INFO, "Starting for user %s from %s", username, rhost);

authorization = str_printf("Authorization: %s", cfg->token);

Expand Down

0 comments on commit 20d8968

Please sign in to comment.