diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php index c0a3572..e1bf9d7 100644 --- a/php/controller/createArticle-controller.php +++ b/php/controller/createArticle-controller.php @@ -26,7 +26,7 @@ try{ } else { $title = $_POST["title"]; $content = $_POST["content"]; - $author = "max.mustermann"; //$user["email"]; + $author = $user["email"]; $category = $_POST["category"]; $tags = $_POST['tags'] ?? '';