Summary Files Commits Branches @commit @diff @stats
path: root / src / controllers / DashboardLoginController.php
diff options
context:
space:
mode:
Commit976b399f90fc5c0152f87e474e61e6065c0e7a5f (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 16:25:24 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 16:25:24 +0300
Files5cc07b1f396ba224e8fb265444feba6d8dc18a76 /src/controllers/DashboardLoginController.php
devrix-job-board-976b399f90fc5c0152f87e474e61e6065c0e7a5f.tar
devrix-job-board-976b399f90fc5c0152f87e474e61e6065c0e7a5f.tar.gz
devrix-job-board-976b399f90fc5c0152f87e474e61e6065c0e7a5f.zip
Parent6d9f958082d7c1ebee30b0477bf6446fb3d09abb (diff)
Updated the comments and documentation in some controllers
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/controllers/DashboardLoginController.php3
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();
}