diff options
| author | ivan <ivan> | 2004-01-30 01:10:34 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2004-01-30 01:10:34 +0000 |
| commit | be454575f9c5663e478a6bc69fbd48a8cef4610f (patch) | |
| tree | efa934146208fd6bf0adbef7a7fe7b825e7dee72 /FS/FS | |
| parent | 06ee7339e63c37ab8e408b48b09b91f8f3aeaa87 (diff) | |
add support for running selfservice server against multiple machines
Diffstat (limited to 'FS/FS')
| -rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 421a08210..22f0d4adb 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -24,6 +24,7 @@ FS::ClientAPI->register_handlers( 'MyAccount/list_pkgs' => \&list_pkgs, 'MyAccount/order_pkg' => \&order_pkg, 'MyAccount/cancel_pkg' => \&cancel_pkg, + 'MyAccount/charge' => \&charge, ); use vars qw( @cust_main_editable_fields ); @@ -35,7 +36,9 @@ use vars qw( @cust_main_editable_fields ); ); #store in db? -my $cache = new Cache::SharedMemoryCache(); +my $cache = new Cache::SharedMemoryCache( { + 'namespace' => 'FS::ClientAPI::MyAccount', +} ); #false laziness w/FS::ClientAPI::passwd::passwd (needs to handle encrypted pw) sub login { |
