Update profile.php
This commit is contained in:
@@ -30,7 +30,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
$success=0;
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
$user_hex_id=bin2hex($user_hex_id);
|
||||
$user_hex_id=bin2hex($username_new);
|
||||
$stmt = $conn->prepare("UPDATE users set email = ?, username = ?, telegram_id = ?, allow_pw_login = ?, user_hex_id = ? where username = ?");
|
||||
$stmt->bind_param("sssiss", $email, $username_new,$telegram_id, $pw_login,$user_hex_id , $username);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user