Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
7b14c740
Commit
7b14c740
authored
Jan 22, 2019
by
Christophe Maudoux
🐛
Browse files
perltidy (#1622)
parent
6f7defef
Changes
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/Engines/Default.pm
View file @
7b14c740
...
...
@@ -339,20 +339,6 @@ sub _displayRegister {
{
foreach
(
@$
_2fDevices
)
{
# if ( $_->{type} eq 'U2F' ) {
# $_->{delAllowed}
# = $self->conf->{u2fActivation}
# && $self->conf->{u2fUserCanRemoveKey}
# && $self->conf->{u2fSelfRegistration};
# }
# if ( $_->{type} eq 'TOTP' ) {
# $_->{delAllowed}
# = $self->conf->{totp2fActivation}
# && $self->conf->{totp2fUserCanRemoveKey}
# && $self->conf->{totp2fSelfRegistration};
# }
$_
->
{
type
}
=~
s/^UBK$/Yubikey/
;
if
(
$_
->
{
type
}
eq
$type
)
{
my
$t
=
lc
(
$type
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment