[freeside-commits] freeside/FS/FS svc_phone.pm,1.14,1.15

Ivan,,, ivan at wavetail.420.am
Sat Nov 29 13:54:37 PST 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv1306/FS/FS

Modified Files:
	svc_phone.pm 
Log Message:
add selfservice_server-single_domain config, and login_info self-service method to give the login page a bit more configurability

Index: svc_phone.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_phone.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- svc_phone.pm	28 Oct 2008 01:23:08 -0000	1.14
+++ svc_phone.pm	29 Nov 2008 21:54:35 -0000	1.15
@@ -224,7 +224,7 @@
 
 sub check_pin {
   my($self, $check_pin) = @_;
-  $check_pin eq $self->pin;
+  length($self->pin) && $check_pin eq $self->pin;
 }
 
 =item radius_reply



More information about the freeside-commits mailing list