Skip to content

Commit

Permalink
Remove two_factor_authentication from confirm.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Moreau committed Aug 30, 2024
1 parent 208141f commit c45ff78
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions PowerFGT/Private/Confirm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,6 @@ Function Confirm-FGTUserLocal {
if ( -not ( $argument | get-member -name two-factor -Membertype Properties)) {
throw "Element specified does not contain a two-factor property."
}
if ( -not ( $argument | get-member -name two-factor-authentication -Membertype Properties)) {
throw "Element specified does not contain a two-factor-authentication property."
}
if ( -not ( $argument | get-member -name fortitoken -Membertype Properties)) {
throw "Element specified does not contain a fortitoken property."
}
Expand Down

0 comments on commit c45ff78

Please sign in to comment.