Print newline on fingerprint recieved

This commit is contained in:
Misha
2022-04-11 19:50:58 -04:00
parent 564502577e
commit d7244b9d58

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)