Fix little warning (#1148)
This commit is contained in:
parent
e1f39c4adf
commit
0769967407
|
@ -52,7 +52,7 @@ sub run {
|
||||||
my ( $self, $req, $token ) = @_;
|
my ( $self, $req, $token ) = @_;
|
||||||
|
|
||||||
my $checkLogins = $req->param('checkLogins');
|
my $checkLogins = $req->param('checkLogins');
|
||||||
$self->logger->debug("checkLogins ? $checkLogins");
|
$self->logger->debug("checkLogins set") if ($checkLogins);
|
||||||
|
|
||||||
# Check if user is registered
|
# Check if user is registered
|
||||||
if ( my $res = $self->loadUser( $req, $req->sessionInfo ) ) {
|
if ( my $res = $self->loadUser( $req, $req->sessionInfo ) ) {
|
||||||
|
@ -207,8 +207,6 @@ sub loadUser {
|
||||||
}
|
}
|
||||||
$self->logger->debug("2F Device(s) found");
|
$self->logger->debug("2F Device(s) found");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foreach (@$_2fDevices) {
|
foreach (@$_2fDevices) {
|
||||||
$self->logger->debug("Looking for registered U2F key(s) ...");
|
$self->logger->debug("Looking for registered U2F key(s) ...");
|
||||||
if ( $_->{type} eq 'U2F' ) {
|
if ( $_->{type} eq 'U2F' ) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user