Skip to content

Commit

Permalink
Remove check status for stop
Browse files Browse the repository at this point in the history
Fixes #8456
  • Loading branch information
jrouzierinverse committed Feb 7, 2025
1 parent b80dc5b commit 73846f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/firewallsso/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,6 @@ func ExecuteStop(ctx context.Context, fw FirewallSSOInt, info map[string]string)
return false, nil
}

if !fw.CheckStatus(ctx, info) {
return false, nil
}

if !fw.SendOnAcctStop(ctx) && info["source"] == "accounting" {
log.LoggerWContext(ctx).Debug(fmt.Sprintf("Not sending SSO for IP %s since it's coming from an accounting stop and it has been disabled", info["ip"]))
return false, nil
Expand Down

0 comments on commit 73846f2

Please sign in to comment.