Login attempts message inconsistent

ilo - June 18, 2009 - 13:14
Project:Login Security
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:ilo
Status:closed
Description

When enabling the number of attempts "notice" for the module, and this option is set to 0, the message will display:

"You have used 8 out of 0 login attempts. After all 0 have been used, you will be unable to login."

In fact, not only "8 of 0" is ugly, but the sentence warning it's not true, because no action will be taken to avoid the login operation.

#1

ilo - June 18, 2009 - 13:18

Correction: ...When enabling the number of attempts "notice" for the module ("Notify the user about the number of remaining login attempts"), and the "Maximum number of login failures before blocking a user" option is set to 0, the message will display... Sorry

#2

ilo - June 19, 2009 - 11:56
Assigned to:Anonymous» ilo
Status:active» needs review

I've just removed the message if enabled, when the "Maximum number of login failures before blocking a user" variable is set to 0.

AttachmentSize
login_security_495226_1.patch 1.25 KB

#3

ilo - June 19, 2009 - 14:27
Status:needs review» fixed

Commited to 6.x-1.x-dev and HEAD

#4

System Message - July 3, 2009 - 14:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.