X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Frandom_pass.html;h=778aa20e64e00eb54418a6c15a35e22c3eaccbbd;hb=bfd03694e81b9bc09b24d288adde0a038fc93288;hp=14bbb581dc24d16bc47b24d3c5921bdc751ee8f9;hpb=c20f301dd7c437a0d8be414a174dd09721bd8e9a;p=freeside.git
diff --git a/httemplate/elements/random_pass.html b/httemplate/elements/random_pass.html
index 14bbb581d..778aa20e6 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);
+
%init>