summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI/MyAccount.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-10-02 12:49:33 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-10-03 07:40:08 -0400
commitbb930ebb29f1a000ef096de937dc69cd9d83615b (patch)
tree7a3a3bb28081ee568dd93b59e26633f4ceb19ec4 /FS/FS/ClientAPI/MyAccount.pm
parentb9bbcb931c701704f1ab3075c6728c287501afad (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/MyAccount.pm')
-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 a30dde5..dbecb9b 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}))
)