diff options
author | Leena Gunda <leena.gunda@wipro.com> | 2003-12-20 01:07:24 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2003-12-20 01:07:24 +0000 |
commit | 524310a6284ce089bf19c896de49b5a6d57b5745 (patch) | |
tree | 6099e531ea7759699696512635c52a102db45e59 | |
parent | 30ac0d7033f25ebc8830239de9781f3c7b273769 (diff) | |
download | gdm-524310a6284ce089bf19c896de49b5a6d57b5745.tar.gz |
pass the time in microseconds to pam_fail_delay(). Fixes bug #128507
Thu Dec 04 17:01:21 2003 Leena Gunda <leena.gunda@wipro.com>
* daemon/verify-pam.c:
pass the time in microseconds to pam_fail_delay().
Fixes bug #128507
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | daemon/verify-pam.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Thu Dec 04 17:01:21 2003 Leena Gunda <leena.gunda@wipro.com> + + * daemon/verify-pam.c: + pass the time in microseconds to pam_fail_delay(). + Fixes bug #128507 + Fri Dec 19 17:04:31 2003 George Lebl <jirka@5z.com> * daemon/gdm.h, config/PreSession.in, config/gdm.conf.in: Make diff --git a/daemon/verify-pam.c b/daemon/verify-pam.c index e2323874..ae272a1c 100644 --- a/daemon/verify-pam.c +++ b/daemon/verify-pam.c @@ -505,7 +505,7 @@ authenticate_again: pam_set_item (pamh, PAM_USER_PROMPT, _("Username:")); #ifdef PAM_FAIL_DELAY - pam_fail_delay (pamh, GdmRetryDelay * 1000); + pam_fail_delay (pamh, GdmRetryDelay * 1000000); #endif /* PAM_FAIL_DELAY */ did_we_ask_for_password = FALSE; |