mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-27 06:54:15 +01:00
Correct debug log message for too short OTPs.
This commit is contained in:
parent
a5594fa09c
commit
f91a7dc99a
@ -563,7 +563,7 @@ pam_sm_authenticate (pam_handle_t * pamh,
|
||||
password_len = strlen (password);
|
||||
if (password_len < (cfg.token_id_length + TOKEN_OTP_LEN))
|
||||
{
|
||||
DBG (("OTP too short: %i < %i", password_len, TOKEN_OTP_LEN));
|
||||
DBG (("OTP too short to be considered : %i < %i", password_len, (cfg.token_id_length + TOKEN_OTP_LEN)));
|
||||
retval = PAM_AUTH_ERR;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user