Commit a62e5795 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Cleaning code

parent fb2731fc
......@@ -56,7 +56,7 @@ sub addRoutes {
$self->setTypes($conf);
$self->{ipField} ||= 'ipAddr';
#$self->{ipField} ||= 'ipAddr';
$self->{multiValuesSeparator} ||= '; ';
$self->{hiddenAttributes} //= "_password";
$self->{TOTPCheck} = '1';
......@@ -135,7 +135,7 @@ sub sfa {
# 2.1 Get fields to require
my @fields =
( '_httpSessionType', $self->{ipField}, $whatToTrace, '_2fDevices' );
( '_httpSessionType', $whatToTrace, '_2fDevices' );
if ( my $groupBy = $params->{groupBy} ) {
$groupBy =~ s/^substr\((\w+)(?:,\d+(?:,\d+)?)?\)$/$1/;
$groupBy =~ s/^_whatToTrace$/$whatToTrace/o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment