[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha logout.pl,1.2.2.1,1.2.2.2
From: |
Steve Tonnesen |
Subject: |
[Koha-cvs] CVS: koha logout.pl,1.2.2.1,1.2.2.2 |
Date: |
Thu, 05 Sep 2002 12:44:02 -0700 |
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv13717
Modified Files:
Tag: rel-1-2
logout.pl
Log Message:
logout.pl checks if the server is using basic authentication. If it is, is
displays a message stating that the user must exit their browser to log out.
Index: logout.pl
===================================================================
RCS file: /cvsroot/koha/koha/logout.pl,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** logout.pl 11 Jul 2002 18:05:28 -0000 1.2.2.1
--- logout.pl 5 Sep 2002 19:44:00 -0000 1.2.2.2
***************
*** 3,10 ****
--- 3,28 ----
use CGI;
use C4::Database;
+ use C4::Output;
my $query=new CGI;
my $sessionID=$query->cookie('sessionID');
+
+
+ if ($ENV{'REMOTE_USER'}) {
+ print $query->header();
+ print startpage();
+ print startmenu('catalogue');
+ print qq|
+ <h1>Logout Feature Not Available</h1>
+ Your Koha server is configured to use a type of authentication called "Basic
+ Authentication" instead of using a cookies-based authentication system. With
+ Basic Authentication, the only way to logout of Koha is by exiting your
+ browser.
+ |;
+ print endmenu('catalogue');
+ print endpage();
+ exit;
+ }
my $sessions;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha logout.pl,1.2.2.1,1.2.2.2,
Steve Tonnesen <=