From: Wolfgang Bumiller Date: Mon, 15 Apr 2019 07:08:24 +0000 (+0200) Subject: typo fixup X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=0a956b943ad3c3156ba87fde79f918898fa4c66a;hp=7e58c66de2b9e0dbf8764420762f9812d0c6f96a typo fixup Signed-off-by: Wolfgang Bumiller --- 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}, {