/[locfinder]/locfinder/action/forgot.php
ViewVC logotype

Diff of /locfinder/action/forgot.php

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

revision 1.2 by yob, Thu Jan 16 22:30:45 2003 UTC revision 1.3 by yob, Sun Jan 19 14:15:16 2003 UTC
# Line 27  Line 27 
27   *   *
28   ***************************************************************************/   ***************************************************************************/
29    
30  email_password($username);  if (!isset($username)) {
31    
32  header("location:http://" . $opt_server . $opt_loc_path . "index.php?page=front");      $_SESSION["msg"] = "A required variable was missing";
33        $_SESSION["msg_type"] = 0;
34        header("location:http://" . $opt_server . $opt_loc_path . "index.php?page=forgot");
35    
36      ?>  } else {
37        
38        $exec_code = email_password_reset($username);
39    
40        if (!$exec_code) {
41        
42            header("location:http://" . $opt_server . $opt_loc_path . "index.php?page=forgot");
43        
44        } else {
45        
46            header("location:http://" . $opt_server . $opt_loc_path . "index.php?page=front");
47        
48        }
49    
50    }
51    
52    ?>
53    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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