Added special characters
This commit is contained in:
parent
e465310dc7
commit
00338851fe
@ -136,7 +136,7 @@ sub save {
|
||||
|
||||
# Generate password
|
||||
sub generate {
|
||||
my @chars = ( "A" .. "Z", "a" .. "z", 0 .. 9 );
|
||||
my @chars = ( "A" .. "Z", "a" .. "z", 0 .. 9, '!', '@', '$', '(', ')' );
|
||||
my $string;
|
||||
$string .= $chars[ rand @chars ] for 1 .. 16;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user