https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22322
Emmi Takkinen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #182338|0 |1 is obsolete| | --- Comment #38 from Emmi Takkinen <[email protected]> --- Created attachment 198998 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198998&action=edit Bug 22322: Don't log login failure to action_logs when page is refreshed If sysprefs AuthFailureLog and SelfCheckoutByLogin are enabled and one logs in to the SCO from OPAC or refreshes the SCOs login page, this is added to the action_logs table as an authentication failure. We shouldn't log when this happens since these are not real login attempts. To test: 1. Make sure you have AuthFailureLog enabled. 2. Check how many rows are returned from database with following query: SELECT count(*) FROM action_logs WHERE module = "AUTH" and action = "FAILURE"; 3. Enable syspref SelfCheckoutByLogin. 4. Navigate to SCO page and login to OPAC when asked. 5. After SCO login page is displayed, check database again. => Result has now increased by 1. 6. Refresh page. => Result has again increased by 1. 7. Apply this patch, restart services if needed. 8. Login to SCO again from OPAC again or just refresh the page. 9. Check database. => Confirm that result hasn't increased. 10. Refresh page and check database. => Confirm that result hasn't increased. 11. Confirm that login to SCO still works as it should. Sponsored-by: Koha-Suomi Oy -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
