diff options
author | ivan <ivan> | 2008-11-29 21:54:35 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-11-29 21:54:35 +0000 |
commit | b023b9a96799ee2ad11abc0c23fcaf33a8bf12ca (patch) | |
tree | cc3622520f32ea2442c020125882c77f2780995e /FS/FS/svc_phone.pm | |
parent | 7efa0ac8ebfef28bf6cb277c0c2b53159479df21 (diff) |
add selfservice_server-single_domain config, and login_info self-service method to give the login page a bit more configurability
Diffstat (limited to 'FS/FS/svc_phone.pm')
-rw-r--r-- | FS/FS/svc_phone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index 237bbf5c7..5dcb39ef8 100644 --- a/FS/FS/svc_phone.pm +++ b/FS/FS/svc_phone.pm @@ -224,7 +224,7 @@ sucessful authentication, false if no match. sub check_pin { my($self, $check_pin) = @_; - $check_pin eq $self->pin; + length($self->pin) && $check_pin eq $self->pin; } =item radius_reply |