summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorivan <ivan>2010-02-16 18:36:43 +0000
committerivan <ivan>2010-02-16 18:36:43 +0000
commit6ebd13300f76f6626ba467f22701d25d9462e18c (patch)
treebc6e1fa45e81c2bb012ca1d0cc37bd5d1799e778 /FS/FS
parent4bcc2b89f717df76f1ff8ca90000cbba7592bb89 (diff)
option to uncheck the save checkbox in self-service by default, RT#6955
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm2
-rw-r--r--FS/FS/Conf.pm7
2 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 3dbc3649a..50dc89c73 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -497,6 +497,8 @@ sub payment_info {
'show_ss' => $conf->exists('show_ss'),
'show_stateid' => $conf->exists('show_stateid'),
'show_paystate' => $conf->exists('show_bankstate'),
+
+ 'save_unchecked' => $conf->exists('selfservice-save_unchecked'),
};
}
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 999156775..b97f6c137 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -1511,6 +1511,13 @@ worry that config_items is freeside-specific and icky.
},
{
+ 'key' => 'selfservice-save_unchecked',
+ 'section' => 'self-service',
+ 'description' => 'In self-service, uncheck "Remember information" checkboxes by default (normally, they are checked by default).',
+ 'type' => 'checkbox',
+ },
+
+ {
'key' => 'signup_server-default_agentnum',
'section' => 'self-service',
'description' => 'Default agent for the signup server',