mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Print newline on fingerprint recieved
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user