[Koha-cvs] CVS: koha/C4 Auth.pm,1.9.2.23,1.9.2.24

Steve Tonnesen tonnesen at users.sourceforge.net
Tue Feb 4 23:18:02 CET 2003


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

Modified Files:
      Tag: rel-1-2
	Auth.pm 
Log Message:
Fixes bug where user would have to log in multiple times for different intranet
scripts.  Auth.pm was resetting the sessionID _after_ the user had just
successfully logged in with the previous one.


Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.9.2.23
retrieving revision 1.9.2.24
diff -C2 -r1.9.2.23 -r1.9.2.24
*** Auth.pm	4 Feb 2003 17:52:00 -0000	1.9.2.23
--- Auth.pm	4 Feb 2003 22:17:57 -0000	1.9.2.24
***************
*** 174,178 ****
      }
      unless ($userid) {
! 	$sessionID=int(rand()*100000).'-'.time();
  	$userid=$query->param('userid');
  	my $password=$query->param('password');
--- 174,178 ----
      }
      unless ($userid) {
! 	$sessionID or $sessionID=int(rand()*100000).'-'.time();
  	$userid=$query->param('userid');
  	my $password=$query->param('password');





More information about the Koha-cvs mailing list