diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pam-freerdp2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pam-freerdp2.c b/src/pam-freerdp2.c index 35d5cf4..3f4126b 100644 --- a/src/pam-freerdp2.c +++ b/src/pam-freerdp2.c @@ -90,20 +90,20 @@ get_item (pam_handle_t * pamh, int type) switch (type) { case PAM_USER: - message.msg = "login:"; + message.msg = PAM_FREERDP2_PROMPT_GUESTLOGIN; break; case PAM_RUSER: - message.msg = "remote login:"; + message.msg = PAM_FREERDP2_PROMPT_USER; break; case PAM_TYPE_RDPSERVER: - message.msg = "remote host:"; + message.msg = PAM_FREERDP2_PROMPT_HOST; break; case PAM_AUTHTOK: - message.msg = "password:"; + message.msg = PAM_FREERDP2_PROMPT_PASSWORD; message.msg_style = PAM_PROMPT_ECHO_OFF; break; case PAM_TYPE_RDPDOMAIN: - message.msg = "domain:"; + message.msg = PAM_FREERDP2_PROMPT_DOMAIN; break; default: return NULL; |