]> git.koha-community.org Git - koha.git/commit
Bug 21336: Introduce administrative lockout
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 3 Oct 2018 13:36:46 +0000 (15:36 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 17 Apr 2019 12:25:23 +0000 (12:25 +0000)
commit0611621ed082a2463b8a15d61273b5720c9db31c
treed22264daa866c550d40138803ef1a72a5b55c631
parent71f17b35ee8023967e671ca9203d5d5b62aa2931
Bug 21336: Introduce administrative lockout

As a preparation for Koha::Patron->lock, we add the concept of administrative
lockout. The account is locked just as it would have been by too much
failed login attempts.
This is handled by a negative value in borrowers.login_attempts.

Test plan:
Run t/db_dependent/Auth.t

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Patron.pm
t/db_dependent/Auth.t