mirror of
https://github.com/ovh/the-bastion.git
synced 2025-02-26 16:43:03 +08:00
fix: proactive-mfa: make it work for --osh batch and --osh clush
This commit is contained in:
parent
b5c5d9d5ee
commit
8d84fce34f
1 changed files with 0 additions and 5 deletions
|
@ -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'}) {
|
||||
|
|
Loading…
Reference in a new issue