1 Commits

Author SHA1 Message Date
d7244b9d58 Print newline on fingerprint recieved 2022-04-11 20:08:59 -04:00

View File

@ -19,6 +19,7 @@
*/ */
#include <config.h> #include <config.h>
#include <security/_pam_types.h>
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
@ -787,6 +788,7 @@ do_auth (pam_handle_t *pamh, const char *username)
int ret = do_verify(bus, data); int ret = do_verify(bus, data);
pthread_cancel (pw_prompt_thread); pthread_cancel (pw_prompt_thread);
pam_prompt(data->pamh, PAM_TEXT_INFO, NULL, "***");
/* Simply disconnect from bus if we return PAM_SUCCESS */ /* Simply disconnect from bus if we return PAM_SUCCESS */
if (ret != PAM_SUCCESS) if (ret != PAM_SUCCESS)