mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-31 15:47:14 +00:00
update
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ if($_POST['uid'] != $session->uid){
|
|||||||
die();
|
die();
|
||||||
header("Location: ".$_SERVER['PHP_SELF']);
|
header("Location: ".$_SERVER['PHP_SELF']);
|
||||||
}elseif($_POST['uid'] == $session->uid){
|
}elseif($_POST['uid'] == $session->uid){
|
||||||
$database->updateUserField($session->uid,"password",md5($_POST['pw']),1);
|
//$database->updateUserField($session->uid,"password",md5($_POST['pw']),1);
|
||||||
header("Location: ".$_SERVER['PHP_SELF']);
|
header("Location: ".$_SERVER['PHP_SELF']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user