From f97e36a4e436cda5ed2c568991cbb0530f0b6645 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 9 Jul 2024 20:06:28 -0400 Subject: [PATCH] password_reset_id --- www-api/app/Controllers/WrenchAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-api/app/Controllers/WrenchAuth.php b/www-api/app/Controllers/WrenchAuth.php index 897c8f33..d1847b68 100644 --- a/www-api/app/Controllers/WrenchAuth.php +++ b/www-api/app/Controllers/WrenchAuth.php @@ -72,7 +72,7 @@ class WrenchAuth extends BaseController $ret = $this->wrenchboard->wrenchboard_api($in, $out); $out['internal_return'] = $ret; log_message('critical', "***** ***** WrenchAuth::passwordReset Ret = ".$ret ); - if ( $out['internal_return'] == 100 ){ + if ( $out['internal_return'] >= 0 ){ log_message('critical', "***** ***** WrenchAuth::userLogin USER_SESSION = ".$endpoint ); $this->saveCache($endpoint,$out,1500); }