Update login.php

pull/224/head
Georgi Sinapov 6 years ago committed by GitHub
parent 51fb476708
commit 49030914f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.

Loading…
Cancel
Save