Skip to content

Commit

Permalink
critical fix, don't filter check_user_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed Sep 8, 2023
1 parent 8cfd869 commit 09f5e71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/priv_actions
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 09f5e71

Please sign in to comment.