better logging

This commit is contained in:
Roland Gruber 2018-02-11 10:27:23 +01:00
parent a1fbae2f14
commit 6049be786f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,5 @@
<?php
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2003 - 2006 Tilo Lutz
@ -1499,6 +1498,7 @@ function validateReCAPTCHA($secretKey) {
return false;
}
$responseJSON = json_decode($result);
logNewMessage(LOG_DEBUG, "ReCAPTCHA result: " . $result);
return $responseJSON->{'success'} === true;
}