Display button only if upgradeSession plugin is enabled (#2332)
This commit is contained in:
parent
f6eb9e5c1a
commit
929e00e91a
|
@ -526,7 +526,8 @@ sub _displayRegister {
|
|||
$_->{type} =~ s/^Yubikey$/UBK/;
|
||||
}
|
||||
}
|
||||
|
||||
$displayUpgBtn = 0 unless $self->conf->{upgradeSession};
|
||||
|
||||
# Display template
|
||||
return $self->p->sendHtml(
|
||||
$req,
|
||||
|
|
Loading…
Reference in New Issue
Block a user