Added debug to user auth api messages

git-svn-id: svn://192.168.202.10@2516 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2016-04-14 17:50:21 +00:00
parent f4b0043fcb
commit 496e36be97
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -34,7 +34,7 @@
# $mysql_queries = 20
##### BEGIN validate user login credentials, check for failed lock out #####
function user_authorization($user,$pass,$user_option,$user_update,$bcrypt,$return_hash)
function user_authorization($user,$pass,$user_option,$user_update,$bcrypt,$return_hash,$api_call)
{
require("dbconnect_mysqli.php");
@@ -201,7 +201,7 @@ function user_authorization($user,$pass,$user_option,$user_update,$bcrypt,$retur
# $auth_key='ERRPHONES';
# $login_problem++;
# }
if ( ($vla_total >= $vla_set) and ($vla_on > 0) )
if ( ($vla_total >= $vla_set) and ($vla_on > 0) and ($api_call != '1') )
{
$auth_key='ERRAGENTS';
$login_problem++;