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