projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
54c73b7
)
use crypt password for radiator export
author
ivan
<ivan>
Mon, 12 Dec 2005 21:39:35 +0000
(21:39 +0000)
committer
ivan
<ivan>
Mon, 12 Dec 2005 21:39:35 +0000
(21:39 +0000)
FS/FS/part_export/radiator.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/radiator.pm
b/FS/FS/part_export/radiator.pm
index
7fa9485
..
11ce3e7
100644
(file)
--- a/
FS/FS/part_export/radiator.pm
+++ b/
FS/FS/part_export/radiator.pm
@@
-68,7
+68,7
@@
sub _radiator_hash {
my( $self, $svc_acct ) = @_;
my %hash = (
'username' => $self->export_username($svc_acct),
my( $self, $svc_acct ) = @_;
my %hash = (
'username' => $self->export_username($svc_acct),
- 'pass_word' => $svc_acct->_password,
+ 'pass_word' => $svc_acct->
crypt
_password,
'fullname' => $svc_acct->finger,
map { my $method = "radius_$_"; $_ => $svc_acct->$method(); }
qw( framed_filter_id framed_mtu framed_netmask framed_protocol
'fullname' => $svc_acct->finger,
map { my $method = "radius_$_"; $_ => $svc_acct->$method(); }
qw( framed_filter_id framed_mtu framed_netmask framed_protocol
@@
-82,7
+82,7
@@
sub _radiator_hash {
$hash{'servicename'} = ( $svc_acct->radius_groups )[0];
my $cust_pkg = $svc_acct->cust_svc->cust_pkg;
$hash{'servicename'} = ( $svc_acct->radius_groups )[0];
my $cust_pkg = $svc_acct->cust_svc->cust_pkg;
- $hash{
validto
} = $cust_pkg->bill
+ $hash{
'validto'
} = $cust_pkg->bill
if $cust_pkg && $cust_pkg->part_pkg->is_prepaid && $cust_pkg->bill;
#some other random stuff, should probably be attributes or virtual fields
if $cust_pkg && $cust_pkg->part_pkg->is_prepaid && $cust_pkg->bill;
#some other random stuff, should probably be attributes or virtual fields