mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-08-14 05:40:15 +00:00
typo fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
7e58c66de2
commit
0a956b943a
@ -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}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user