IE force edge
This commit is contained in:
parent
17762f8382
commit
bc49cf0d66
|
@ -1,5 +1,6 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
|
<link rel="stylesheet" href="bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
|
||||||
|
|
|
@ -112,7 +112,7 @@ if ($usersfound=="no"){
|
||||||
$user = clean($_POST['username']);
|
$user = clean($_POST['username']);
|
||||||
$pass = clean($_POST['password']);
|
$pass = clean($_POST['password']);
|
||||||
if ($pass == ""){
|
if ($pass == ""){
|
||||||
echo "$user is not allowed to login withou password.";
|
echo "$user is not allowed to login without a password.";
|
||||||
} else {
|
} else {
|
||||||
$sql="SELECT password,admin FROM users WHERE username='$user'";
|
$sql="SELECT password,admin FROM users WHERE username='$user'";
|
||||||
$res = $db_handle->query($sql);
|
$res = $db_handle->query($sql);
|
||||||
|
|
Loading…
Reference in New Issue