diff --git a/lib/IdPAccountManager/Tools.pm b/lib/IdPAccountManager/Tools.pm index 9972b74efdc4ab2f78902b5ece948addf2e8606c..d8e9bb754976f936c494071f6ba42f0edf5930e0 100644 --- a/lib/IdPAccountManager/Tools.pm +++ b/lib/IdPAccountManager/Tools.pm @@ -55,7 +55,7 @@ sub generate_password{ push(@rndtab,$numerics[rand @numerics]); # 2-tirage des caractères optionnels : les ajouter au tableau - my @chars=('a'..'k','m'..'z','A'..'N','P'..'Z','0'..'9','_','%',';',':','!','?','&','$','*','(',')','{','}','[',']','<','>','.','=','-','#'); + my @chars=('a'..'k','m'..'z','A'..'N','P'..'Z','0'..'9','_','%',';',':','!','?','&','$','*','(',')','{','}','[',']','.','=','-','#'); foreach (6..$length_of_randomstring) { # rand @chars will generate a random # number between 0 and scalar @chars