addressed Issue smzint/Auth#2
This commit is contained in:
parent
a50a385c4e
commit
e887951cee
1 changed files with 1 additions and 1 deletions
2
auth.php
2
auth.php
|
@ -10,7 +10,7 @@ if(!isset($_COOKIE[$cookie_name])) {
|
|||
// Nicht angemeldet
|
||||
return false;
|
||||
} else {
|
||||
$sessionId = $_COOKIE[$cookie_name];
|
||||
$sessionId = filter_var($_COOKIE[$cookie_name], FILTER_SANITIZE_SPECIAL_CHARS);
|
||||
include('db.ini.php');
|
||||
|
||||
$conn = new mysqli($dbservername, $dbusername, $dbpassword, $dbname);
|
||||
|
|
Loading…
Add table
Reference in a new issue