Skip to content
Snippets Groups Projects
Commit 4e9e35fc authored by renater.salaun's avatar renater.salaun
Browse files

Exclude < and > from passwords

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@82 047e039d-479c-447e-8a29-aa6bf4a09bab
parent 4404650e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment