% if ( $opt{'password_verify'} ) { % } % if ( $conf->exists('security_phrase') ) { % } else { % } % if ( $conf->exists('svc_acct-disable_access_number') ) { % } else { % }
<% mt('Username') |h %> MAXLENGTH = <% $ulen %> >
<% mt('Domain') |h %>
<% mt('Password') |h %> MAXLENGTH = <% $passwordmax %>> % unless ( $opt{'password_verify'} ) { (blank to generate) % }
<% mt('Re-enter Password') |h %> MAXLENGTH = <% $passwordmax %>>
<% mt('Security Phrase') |h %>
<% mt('Access number') |h %> %# XXX should gain "area code" selection and labels on the dropdowns <% FS::svc_acct_pop::popselector($opt{'popnum'}) %>
<%init> my( %opt ) = @_; my $conf = new FS::Conf; my $ulen = dbdef->table('svc_acct')->column('username')->length; my $ulen2 = $ulen+2; my $passwordmax = $conf->config('passwordmax') || 8; my $pmax2 = $passwordmax + 2;