Update of /cvsroot/phpmp/phpMP/includes
In directory usw-pr-cvs1:/tmp/cvs-serv28839
Modified Files:
auth.php
Log Message:
Realized that sessions lasted one second. Fixed that.
Index: auth.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/auth.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** auth.php 23 Apr 2002 08:14:55 -0000 1.11
--- auth.php 25 May 2002 17:49:28 -0000 1.12
***************
*** 79,83 ****
$cookiename = $MPCONF['SES']['normcookie'];
! $this->cookietime = time();
if(($HTTP_POST_VARS['username'] != "") && ($HTTP_POST_VARS['password'] != "")) {
$enc_password = md5($HTTP_POST_VARS['password']);
--- 79,83 ----
$cookiename = $MPCONF['SES']['normcookie'];
! $this->cookietime = time() + $MPCONF['SES']['cookietime'];
if(($HTTP_POST_VARS['username'] != "") && ($HTTP_POST_VARS['password'] != "")) {
$enc_password = md5($HTTP_POST_VARS['password']);
|