From 17f5f41245b8e61765cbe7089d15cdc446391a03 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 2 Oct 2018 12:49:33 -0400 Subject: 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. --- FS/FS/ClientAPI/MyAccount.pm | 7 ------- 1 file changed, 7 deletions(-) (limited to 'FS') diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 263b3116b..365a42b87 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})) ) -- cgit v1.2.1