updating small things

This commit is contained in:
jakani24
2024-06-05 22:21:19 +02:00
parent 05004c97e4
commit bb2c884c09
16 changed files with 47 additions and 51 deletions

View File

@@ -296,7 +296,7 @@ async function checkRegistration() {
$row = $result->fetch_assoc();
if($row["allow_pw_login"]==1){
if (password_verify($password, $row['password'])) {
$_SESSION["username"]=$username;
$_SESSION["username"]=htmlspecialchars($username);
$_SESSION["login"]=true;
$_SESSION["perms"]=$row["perms"];
$_SESSION["email"]=$row["email"];