From 8d84fce34fe85fc000cf22782a3eb13736a24319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Wed, 22 Sep 2021 09:18:47 +0000 Subject: [PATCH] fix: proactive-mfa: make it work for --osh batch and --osh clush --- bin/shell/osh.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/shell/osh.pl b/bin/shell/osh.pl index b73b866..25910b8 100755 --- a/bin/shell/osh.pl +++ b/bin/shell/osh.pl @@ -462,11 +462,6 @@ if ($proactiveMfa) { # if we're still here, it succeeded $ENV{'OSH_PROACTIVE_MFA'} = 1; } -else { - - # ensure this is unset no matter what - delete $ENV{'OSH_PROACTIVE_MFA'}; -} if ($interactive and not $ENV{'OSH_IN_INTERACTIVE_SESSION'}) { if (not $config->{'interactiveModeAllowed'}) {