From c45ff783c2fe03edfe30e3b166690a6b22f02b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= Date: Fri, 30 Aug 2024 16:27:05 +0200 Subject: [PATCH] Remove two_factor_authentication from confirm.ps1 --- PowerFGT/Private/Confirm.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/PowerFGT/Private/Confirm.ps1 b/PowerFGT/Private/Confirm.ps1 index cbd02f8ac..f1c16470c 100644 --- a/PowerFGT/Private/Confirm.ps1 +++ b/PowerFGT/Private/Confirm.ps1 @@ -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." }