[freeside-commits] freeside/FS/FS svc_acct.pm,1.249,1.250
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Jan 12 01:01:57 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv15399
Modified Files:
svc_acct.pm
Log Message:
vfw callback failure
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -d -r1.249 -r1.250
--- svc_acct.pm 21 Dec 2008 21:49:47 -0000 1.249
+++ svc_acct.pm 12 Jan 2009 09:01:55 -0000 1.250
@@ -47,7 +47,7 @@
$me = '[FS::svc_acct]';
#ask FS::UID to run this stuff for us later
-$FS::UID::callback{'FS::svc_acct'} = sub {
+FS::UID->install_callback( sub {
$conf = new FS::Conf;
$dir_prefix = $conf->config('home');
@shells = $conf->config('shells');
@@ -86,7 +86,8 @@
$radius_password = $conf->config('radius-password') || 'Password';
$radius_ip = $conf->config('radius-ip') || 'Framed-IP-Address';
@pw_set = ( 'A'..'Z' ) if $conf->exists('password-generated-allcaps');
-};
+}
+);
@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
@pw_set = ( 'a'..'z', 'A'..'Z', '0'..'9', '(', ')', '#', '!', '.', ',' );
More information about the freeside-commits
mailing list