summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-10-02 12:49:33 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-10-02 12:49:33 -0400
commit17f5f41245b8e61765cbe7089d15cdc446391a03 (patch)
treef6a4d6252c926f6894900e240eefe8d1d78d9ff1 /FS/FS/ClientAPI
parentc7831ccc4788b143e3d76094fe736456b15a6d26 (diff)
Revert "RT# 39340 - Created minimal selfservice that only allows payments to be made, authorization is based on ip and mac address. This is not done yet need to write routine to get mac address from radius server based on ip address."
This reverts commit 7668262421ea253ffaf95e0233e037f2857f7071.
Diffstat (limited to 'FS/FS/ClientAPI')
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 263b311..365a42b 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -237,13 +237,6 @@ sub login {
$svc_x = $svc_phone;
- } elsif ( $p->{'domain'} eq 'ip_mac' ) {
-
- my $svc_broadband = qsearchs( 'svc_broadband', { 'mac_addr' => $p->{'username'} } );
- return { error => 'IP address not found' }
- unless $svc_broadband;
- $svc_x = $svc_broadband;
-
} elsif ( $p->{email}
&& (my $contact = FS::contact->by_selfservice_email($p->{email}))
)