X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Frandom_pass.html;h=3a632b9af3b326950c6edd2820a623bc1c80fce5;hb=a2403695de3d9802bb5ce10bf64f64d8358141a9;hp=14bbb581dc24d16bc47b24d3c5921bdc751ee8f9;hpb=45d0f6c6325fb8ab5fdc478a7dc278872defa479;p=freeside.git diff --git a/httemplate/elements/random_pass.html b/httemplate/elements/random_pass.html index 14bbb581d..3a632b9af 100644 --- a/httemplate/elements/random_pass.html +++ b/httemplate/elements/random_pass.html @@ -1,16 +1,16 @@ - + <%init> my $id = shift; my $label = shift || 'Generate'; +my $submitid = shift; +my $pw_set = join('', FS::Password_Mixin->pw_set); +my $lower = join('', $pw_set =~ /[[:lower:]]/g); +my $upper = join('', $pw_set =~ /[[:upper:]]/g); +my $digit = join('', $pw_set =~ /[[:digit:]]/g); +my $punct = join('', $pw_set =~ /[[:punct:]]/g); +