Archived
1
0

Allow .google-authenticator under 100b

This commit is contained in:
Mercier Pierre-Olivier 2013-11-15 09:21:33 +01:00
parent 77bee709ed
commit 984cb050fa

View File

@ -1496,7 +1496,7 @@ sub get_no_strong_auth_user()
my $token = $home . "/.google_authenticator"; my $token = $home . "/.google_authenticator";
my $login = $entry->get_value("uid"); my $login = $entry->get_value("uid");
push @faulty_users, $entry if (! -f $token || -s $token < 100); push @faulty_users, $entry if (! -f $token || -s $token < 90);
} }
$ldap->unbind or die ("couldn't disconnect correctly"); $ldap->unbind or die ("couldn't disconnect correctly");