URL: https://github.com/SSSD/sssd/pull/856
Author: Jakuje
 Title: #856: pam_sss: Add missing colon to the PIN prompt
Action: opened

PR body:
"""
This can be noticed in the sudo prompt, when the system is configured
to authenticate users using smart cards.

Resolves: Pagure#4049 [1]

[1] https://pagure.io/SSSD/sssd/issue/4049
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/856/head:pr856
git checkout pr856
From 69888fa407e57a7ea0962bf6a5800a216503bd61 Mon Sep 17 00:00:00 2001
From: Jakub Jelen <jje...@redhat.com>
Date: Wed, 31 Jul 2019 12:20:42 +0200
Subject: [PATCH] pam_sss: Add missing colon to the PIN prompt

This can be noticed in the sudo prompt, when the system is configured
to authenticate users using smart cards.

Resolves: Pagure#4049

Signed-off-by: Jakub Jelen <jje...@redhat.com>
---
 src/sss_client/pam_sss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index 6bcda23da5..cfd3e3731d 100644
--- a/src/sss_client/pam_sss.c
+++ b/src/sss_client/pam_sss.c
@@ -1609,7 +1609,7 @@ static int prompt_2fa_single(pam_handle_t *pamh, struct pam_items *pi,
     return PAM_SUCCESS;
 }
 
-#define SC_PROMPT_FMT "PIN for %s"
+#define SC_PROMPT_FMT "PIN for %s: "
 
 #ifndef discard_const
 #define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org

Reply via email to