[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/C4 Auth.pm,1.15,1.16
From: |
Andrew Arensburger |
Subject: |
[Koha-cvs] CVS: koha/C4 Auth.pm,1.15,1.16 |
Date: |
Fri, 11 Oct 2002 23:12:41 -0700 |
Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv10368
Modified Files:
Auth.pm
Log Message:
Turn off authentication entirely if systempreference "insecure" is set
to "yes".
Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** Auth.pm 10 Oct 2002 14:47:00 -0000 1.15
--- Auth.pm 12 Oct 2002 06:12:39 -0000 1.16
***************
*** 191,195 ****
# new cookie.
! if ($authnotrequired) {
# This script doesn't require the user to be logged in. Return
# just the cookie, without user ID or session ID information.
--- 191,198 ----
# new cookie.
! my $insecure = C4::Context->preference("insecure");
!
! if ($authnotrequired ||
! (defined($insecure) && $insecure eq "yes")) {
# This script doesn't require the user to be logged in. Return
# just the cookie, without user ID or session ID information.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4 Auth.pm,1.15,1.16,
Andrew Arensburger <=