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
(from parent 1:
7e58c66
)
typo fixup
author
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Mon, 15 Apr 2019 07:08:24 +0000
(09:08 +0200)
committer
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Mon, 15 Apr 2019 07:08:24 +0000
(09:08 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
PVE/AccessControl.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/AccessControl.pm
b/PVE/AccessControl.pm
index de353b1bf139ada2573c717b0d40980b419a0fe5..06c649d2e4ddaa2ed006bdedf5d31f88053ccea4 100644
(file)
--- 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 !<type> suffix
- if ($keys !
=
/^x(?:!.*)?$/) {
+ if ($keys !
~
/^x(?:!.*)?$/) {
# old style config, find the type via the realm
return if !$realm_tfa;
return ($realm_tfa->{type}, {