diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-05-04 21:18:59 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-07 17:14:31 -0400 |
commit | 347c98433b0b12701fd8e8db6858bf7841845234 (patch) | |
tree | 2176c7c4c4bc76d7bbb09532fb341f1bed987a48 /src/sss_client | |
parent | 19c62f37ad3b974eed383c602d2dd5171a23c6c6 (diff) | |
download | sssd-347c98433b0b12701fd8e8db6858bf7841845234.tar.gz sssd-347c98433b0b12701fd8e8db6858bf7841845234.tar.bz2 sssd-347c98433b0b12701fd8e8db6858bf7841845234.zip |
Improve the offline authentication message
Diffstat (limited to 'src/sss_client')
-rw-r--r-- | src/sss_client/pam_sss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c index 8bd3c9eb..a3e3d86b 100644 --- a/src/sss_client/pam_sss.c +++ b/src/sss_client/pam_sss.c @@ -586,7 +586,7 @@ static int user_info_offline_auth(pam_handle_t *pamh, size_t buflen, } ret = snprintf(user_msg, sizeof(user_msg), "%s%s%s.", - _("Offline authentication"), + _("Authenticated with cached credentials"), expire_str[0] ? _(", your cached password will expire at: ") : "", expire_str[0] ? expire_str : ""); if (ret < 0 || ret >= sizeof(user_msg)) { @@ -712,7 +712,7 @@ static int user_info_offline_auth_delayed(pam_handle_t *pamh, size_t buflen, } ret = snprintf(user_msg, sizeof(user_msg), "%s%s.", - _("Offline authentication, authentication is denied until: "), + _("Authentication is denied until: "), delay_str); if (ret < 0 || ret >= sizeof(user_msg)) { D(("snprintf failed.")); |