projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118088d
)
fix a 'use of undefined...' warning
author
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Mon, 6 Dec 2021 08:38:00 +0000
(09:38 +0100)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Mon, 6 Dec 2021 12:55:14 +0000
(13:55 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/AccessControl.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/AccessControl.pm
b/src/PVE/AccessControl.pm
index 168fc26b36acc2c775582cf350e6488a64840329..51a96a38d9e31ddf76371f18d3d72e55658e6adb 100644
(file)
--- a/
src/PVE/AccessControl.pm
+++ b/
src/PVE/AccessControl.pm
@@
-781,9
+781,9
@@
sub authenticate_2nd_new : prototype($$$$) {
}
my $realm_type = $realm_tfa && $realm_tfa->{type};
- $realm_type = 'totp' if $realm_type eq 'oath'; # we used to call it that
# verify realm type unless using recovery keys:
if (defined($realm_type)) {
+ $realm_type = 'totp' if $realm_type eq 'oath'; # we used to call it that
if ($realm_type eq 'yubico') {
# Yubico auth will not be supported in rust for now...
if (!defined($tfa_challenge)) {