[Koha-cvs] CVS: koha/C4 Auth.pm,1.9.2.3,1.9.2.4

Steve Tonnesen tonnesen at users.sourceforge.net
Thu Jul 11 21:56:35 CEST 2002


Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv31101/C4

Modified Files:
      Tag: rel-1-2
	Auth.pm 
Log Message:
Added info about the new authentication to koha.upgrade, and changed inactivity
timeout to 2 hours in Auth.pm.  This will be configurable in the final version.


Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.9.2.3
retrieving revision 1.9.2.4
diff -C2 -r1.9.2.3 -r1.9.2.4
*** Auth.pm	11 Jul 2002 19:48:22 -0000	1.9.2.3
--- Auth.pm	11 Jul 2002 19:56:33 -0000	1.9.2.4
***************
*** 40,44 ****
      if ($sth->rows) {
  	my ($userid, $ip, $lasttime) = $sth->fetchrow;
! 	if ($lasttime<time()-45 && $userid ne 'tonnesen') {
  	    # timed logout
  	    $message="You have been logged out due to inactivity.";
--- 40,44 ----
      if ($sth->rows) {
  	my ($userid, $ip, $lasttime) = $sth->fetchrow;
! 	if ($lasttime<time()-7200) {
  	    # timed logout
  	    $message="You have been logged out due to inactivity.";
***************
*** 129,132 ****
--- 129,133 ----
      <tr><td colspan=2 align=center><input type=submit value=login></td></tr>
      </table>
+ <!--
      
      </td><td align=center valign=top>
***************
*** 147,150 ****
--- 148,153 ----
      </tr>
      </table>
+ -->
+ 
      </td></tr>
  </table>





More information about the Koha-cvs mailing list