[Koha-cvs] CVS: koha/C4 Auth.pm,1.9.2.21,1.9.2.22

Finlay Thompson finlayt at users.sourceforge.net
Wed Jan 29 00:19:26 CET 2003


Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv24024

Modified Files:
      Tag: rel-1-2
	Auth.pm 
Log Message:

small bug fix in Auth.pm to enable logout hidden inputs to accept "logout.x" and "logout" as values.


Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.9.2.21
retrieving revision 1.9.2.22
diff -C2 -r1.9.2.21 -r1.9.2.22
*** Auth.pm	4 Dec 2002 02:42:18 -0000	1.9.2.21
--- Auth.pm	28 Jan 2003 23:19:11 -0000	1.9.2.22
***************
*** 113,116 ****
--- 113,117 ----
      my ($userid, $cookie, $sessionID, $flags);
      my $logout = $query->param('logout.x');
+     $logout = $query->param('logout') unless $logout;
      if ($userid = $ENV{'REMOTE_USER'}) {
  	# Using Basic Authentication, no cookies required
***************
*** 125,129 ****
  							  undef, $sessionID);
  	if ($logout) {
- 	    warn "In logout!\n";
  	    # voluntary logout the user
  	    $dbh->do("DELETE FROM sessions WHERE sessionID=?", undef, $sessionID);
--- 126,129 ----





More information about the Koha-cvs mailing list