IE force edge

This commit is contained in:
root 2018-11-09 14:39:03 +01:00
parent 17762f8382
commit bc49cf0d66
2 changed files with 2 additions and 1 deletions

View File

@ -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">

View File

@ -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);