From 0a956b943ad3c3156ba87fde79f918898fa4c66a Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 15 Apr 2019 09:08:24 +0200 Subject: [PATCH] typo fixup Signed-off-by: Wolfgang Bumiller --- PVE/AccessControl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index de353b1..06c649d 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -1464,7 +1464,7 @@ sub user_get_tfa { if $realm_tfa; # new style config starts with an 'x' and optionally contains a ! suffix - if ($keys != /^x(?:!.*)?$/) { + if ($keys !~ /^x(?:!.*)?$/) { # old style config, find the type via the realm return if !$realm_tfa; return ($realm_tfa->{type}, { -- 2.39.2