From 09f5e7108724634ccb7d39f3ad87261aad6a74ed Mon Sep 17 00:00:00 2001 From: Stephen J Carnam Date: Fri, 8 Sep 2023 15:58:18 -0700 Subject: [PATCH] critical fix, don't filter check_user_hash --- hooks/priv_actions | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/priv_actions b/hooks/priv_actions index a05ce00..7187067 100755 --- a/hooks/priv_actions +++ b/hooks/priv_actions @@ -40,6 +40,7 @@ $event = $hcpp->delLeftMost( $cmd, 'v-' ); $event = str_replace( '-', '_', $event ); $event = 'priv_' . $event; $params = $hcpp->do_action( $event, $params ); +if ($event == 'priv_check_user_hash') return; // Don't ever filter this one // Reconstruct API call with our filtered parameters $output = [];