Added reset_password option to update_user Non-Agent API function

Added new reset_agent_pass_email.php script

git-svn-id: svn://192.168.202.10@3675 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2023-01-23 05:07:40 +00:00
parent a1a8f0f9f2
commit 01caaebec6
4 changed files with 616 additions and 6 deletions
+1 -1
View File
@@ -49146,7 +49146,7 @@ if ($ADD==99999701)
$stmt = "INSERT INTO vicidial_agent_function_log set agent_log_id='0',user='$user',function='2FA_send',event_time=NOW(),campaign_id='-ADMIN-',user_group='$LOGuser_group',lead_id='0',uniqueid='ERROR',caller_code='$ip',stage='$stage',comments='EMAIL: $LOGemail';";
$error_msg = error_get_last()['message'];
echo "error_msg";
echo "$error_msg";
}
### LOG INSERTION Admin Log Table ###