typo fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-04-15 09:08:24 +02:00
parent 7e58c66de2
commit 0a956b943a

View File

@ -1464,7 +1464,7 @@ sub user_get_tfa {
if $realm_tfa; if $realm_tfa;
# new style config starts with an 'x' and optionally contains a !<type> suffix # new style config starts with an 'x' and optionally contains a !<type> suffix
if ($keys != /^x(?:!.*)?$/) { if ($keys !~ /^x(?:!.*)?$/) {
# old style config, find the type via the realm # old style config, find the type via the realm
return if !$realm_tfa; return if !$realm_tfa;
return ($realm_tfa->{type}, { return ($realm_tfa->{type}, {