/[LeafOK_CVS]/fenglin/bbs/user_login_service.php
ViewVC logotype

Diff of /fenglin/bbs/user_login_service.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Wed Apr 2 03:06:57 2025 UTC Revision 1.6 by sysadm, Wed Apr 2 10:09:18 2025 UTC
# Line 184  Line 184 
184    
185          if ($row = mysqli_fetch_array($rs))          if ($row = mysqli_fetch_array($rs))
186          {          {
187                  $uid = $row["UID"];                  $uid = intval($row["UID"]);
188    
189                  if ($password == $row["temp_password"] && !$ch_passwd)                  if ($password == $row["temp_password"] && !$ch_passwd)
190                  {                  {
# Line 351  Line 351 
351          $_SESSION["BBS_uid"] = $uid;          $_SESSION["BBS_uid"] = $uid;
352          $_SESSION["BBS_username"] = $username;          $_SESSION["BBS_username"] = $username;
353          $_SESSION["BBS_login_tm"] = time();          $_SESSION["BBS_login_tm"] = time();
354          $_SESSION["BBS_vn_str"] == "";          $_SESSION["BBS_vn_str"] = "";
355    
356          if (!keep_alive($db_conn))          if (!keep_alive($db_conn))
357          {          {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1