Skip to content

Commit

Permalink
Fix tests : -->
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Moreau committed Sep 16, 2024
1 parent 5e4c572 commit 10db6eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PowerFGT/Public/cmdb/user/tacacs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -452,11 +452,11 @@ function Set-FGTUserTACACS {
}

if ( $PsBoundParameters.ContainsKey('authen_type') ) {
$tacacs | add-member -name "authen-type" -membertype NoteProperty -Value $authen_type
$_tacacs | add-member -name "authen-type" -membertype NoteProperty -Value $authen_type
}

if ( $PsBoundParameters.ContainsKey('authorization') ) {
$tacacs | add-member -name "authorization" -membertype NoteProperty -Value $authorization
$_tacacs | add-member -name "authorization" -membertype NoteProperty -Value $authorization
}

if ( $PsBoundParameters.ContainsKey('data') ) {
Expand Down

0 comments on commit 10db6eb

Please sign in to comment.