From 49030914f9067bec368038f98b8ccd7b2e96ef97 Mon Sep 17 00:00:00 2001 From: Georgi Sinapov Date: Sun, 23 Dec 2018 19:31:58 +0100 Subject: [PATCH] Update login.php --- public/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/login.php b/public/login.php index ef1574a8..088d0af6 100644 --- a/public/login.php +++ b/public/login.php @@ -51,7 +51,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { } $h = new AdminHandler(); - if ($h->login($fUsername, $fPassword)) { + if ($h->login($fUsername, $fPassword) && validate_recaptcha()) { init_session($fUsername, true); # they've logged in, so see if they are a domain admin, as well.