summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-05-04 21:18:59 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-05-07 17:14:31 -0400
commit347c98433b0b12701fd8e8db6858bf7841845234 (patch)
tree2176c7c4c4bc76d7bbb09532fb341f1bed987a48 /src
parent19c62f37ad3b974eed383c602d2dd5171a23c6c6 (diff)
downloadsssd-347c98433b0b12701fd8e8db6858bf7841845234.tar.gz
sssd-347c98433b0b12701fd8e8db6858bf7841845234.tar.xz
sssd-347c98433b0b12701fd8e8db6858bf7841845234.zip
Improve the offline authentication message
Diffstat (limited to 'src')
-rw-r--r--src/sss_client/pam_sss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index 8bd3c9eb0..a3e3d86b1 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."));