[Koha-bugs] [Bug 8497] Strange behavior when modifying the 'timeout' system preference.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 2 14:27:08 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8497
Fridolyn SOMERS <fridolyn.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |Needs Signoff
Assignee|koha-bugs at lists.koha-commun |fridolyn.somers at biblibre.co
|ity.org |m
--- Comment #1 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 12629
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12629&action=edit
Proposed patch
The use of 1d (=one day) in "timeout" syspref was only checked in normal
authentication (Auth.pm checkauth), it was missing in check_api_auth() and
check_cookie_auth().
I add a private method in Auth.pm : _timeout_syspref().
Test plan :
- Set timeout syspref to 1d
- Login in intranet (uses checkauth)
- In header, use borrower auto-completion in "check out" (uses
check_cookie_auth)
- Go to Administration/System preferences, modify a syspref and save
(check_api_auth)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list