Problem/Motivation

I have set the value to 5 in the configuration for users. The intended behavior is that if a user makes 4 incorrect login attempts, they should be able to log in successfully on the 5th attempt if the credentials are correct. However, the issue is that on the 5th correct attempt, the user gets blocked instead of being logged in

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 getUserBlocked-3500829-001.patch2.87 KBfawad ali

Comments

fawad ali created an issue. See original summary.

fawad ali’s picture

StatusFileSize
new2.87 KB

I have created the patch for the issue.

anybody’s picture

Status: Active » Needs work
Issue tags: -

@fawad ali please use a MR instead of patches.

anybody’s picture

Furthermore instead of changing and complicating the logics, wouldn't it be better to just count +1 on the number of attempts to fix it?

anybody’s picture

Issue tags: +Needs tests