dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit c00443b6fa - Show all commits
+1 -1
View File
@@ -26,7 +26,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){
} }
if($_GET["pfad"] == "updateArticle"){ if($_GET["pfad"] == "updateArticle"){
if($article->getAuthor() != $_SESSION["user"]){ if($article->getAuthor() != $_SESSION["user_email"]){
$_SESSION["message"] = "unauthorized_access"; $_SESSION["message"] = "unauthorized_access";
header("location: ../../index.php"); header("location: ../../index.php");
exit(); exit();