From 976b399f90fc5c0152f87e474e61e6065c0e7a5f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 3 Apr 2021 16:25:24 +0300 Subject: Updated the comments and documentation in some controllers --- src/controllers/DashboardLoginController.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/controllers/DashboardLoginController.php') diff --git a/src/controllers/DashboardLoginController.php b/src/controllers/DashboardLoginController.php index af1113e..c6ac070 100644 --- a/src/controllers/DashboardLoginController.php +++ b/src/controllers/DashboardLoginController.php @@ -10,6 +10,9 @@ class DashboardLoginController extends BaseController { } public static function post() { + // The dashboard(controller) doesn't have it's own URI (and all requests are sent in this controller), so + // we can't send a request directly to dashboard. + // This does compromise security, but for now it will have to do. if (isset($_POST['_method'])) { DashboardController::invoke(); } -- cgit v1.3.1-23-gd82d