/[locfinder]/locfinder/functions/func_users.php
ViewVC logotype

Diff of /locfinder/functions/func_users.php

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

revision 1.9 by yob, Fri Jan 24 11:18:16 2003 UTC revision 1.10 by yob, Fri Jan 24 11:58:36 2003 UTC
# Line 77  if($in_locfinder) { Line 77  if($in_locfinder) {
77              } elseif ($loc_db->f("password") == $password) {              } elseif ($loc_db->f("password") == $password) {
78    
79                  $_SESSION["logged_in"] = $loc_db->f("username");                                  $_SESSION["logged_in"] = $loc_db->f("username");                
80                  $_SESSION["admin"] = $loc_db->("admin");                  $_SESSION["admin"] = $loc_db->f("admin");
81    
82                  // user is authenticated                  // user is authenticated
83                  return true;                  return true;
# Line 344  if($in_locfinder) { Line 344  if($in_locfinder) {
344          // let the user know they need to confirm their registration          // let the user know they need to confirm their registration
345          email_user_confirm($username);          email_user_confirm($username);
346    
347            write_log(1, "SYSTEM", "Register User", $username);
348    
349          $_SESSION["msg"] = "User successfully registered - instructions on how to confirm this registration have been emaield to you";          $_SESSION["msg"] = "User successfully registered - instructions on how to confirm this registration have been emaield to you";
350          $_SESSION["msg_type"] = 1;          $_SESSION["msg_type"] = 1;
351    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26