feat: fixing bug at login page
This commit is contained in:
parent
157cf7ed5c
commit
f9fc7ba011
@ -20,7 +20,7 @@ if(isset($_POST['login'])){
|
||||
if(password_verify($password,$user['password'])){
|
||||
$_SESSION['loggedin']='true';
|
||||
$_SESSION['username']=$user['username'];
|
||||
$_SESSION['user_id']=$user['user_id'];
|
||||
$_SESSION['id']=$user['id'];
|
||||
header("location:leaderboard.php");
|
||||
exit();
|
||||
}else{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user