Changeset 65 for trunk/includes/global.php
- Timestamp:
- Feb 5, 2009, 11:03:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r63 r65 157 157 { 158 158 $_SESSION['User'] = $_POST['LoginUser']; 159 $_SESSION['Pass'] = sha1($_POST['LoginPass']);160 161 $Line = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user WHERE LOWER(user) = LOWER('".$_SESSION['User']."') AND pass = '".$_SESSION['Pass']."'"));159 $_SESSION['Pass'] = $_POST['LoginPass']; 160 161 $Line = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user WHERE LOWER(user) = LOWER('".$_SESSION['User']."') AND pass = sha1('".$_SESSION['Pass']."')")); 162 162 if(!$Line) 163 163 {
Note:
See TracChangeset
for help on using the changeset viewer.