diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-04-29 12:18:07 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-04-29 12:18:07 -0700 |
commit | 7266a53154af0f0b2240d3de4f912c52670d67d0 (patch) | |
tree | 50ffa1f5b555b4a1a500d8a2925fb6f45c77a2a7 /FS | |
parent | f3e0ac2b009c4edd5692cb587ff709dac2223ebe (diff) |
add selectable domain option to signup, RT#21557
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/ClientAPI/Signup.pm | 2 | ||||
-rw-r--r-- | FS/FS/Conf.pm | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm index 1dbb20bc7..895c5823e 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -98,7 +98,7 @@ sub signup_info { my @signup_bools = qw( no_company recommend_daytime recommend_email ); - my @signup_server_scalars = qw( default_pkgpart default_svcpart ); + my @signup_server_scalars = qw( default_pkgpart default_svcpart default_domain ); my @selfservice_textareas = qw( head body_header body_footer ); diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 6a19ff475..c93331d24 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -2159,11 +2159,18 @@ and customer address. Include units.', { 'key' => 'signup_server-default_svcpart', 'section' => 'self-service', - 'description' => 'Default service definition for the signup server - only necessary for services that trigger special provisioning widgets (such as DID provisioning).', + 'description' => 'Default service definition for the signup server - only necessary for services that trigger special provisioning widgets (such as DID provisioning or domain selection).', 'type' => 'select-part_svc', }, { + 'key' => 'signup_server-default_domain', + 'section' => 'self-service', + 'description' => 'If specified, the default domain for signup (useful when domain is set to selectable choice).', + 'type' => 'text', + }, + + { 'key' => 'signup_server-mac_addr_svcparts', 'section' => 'self-service', 'description' => 'Service definitions which can receive mac addresses (current mapped to username for svc_acct).', |