From 4761832a331993cc742a6c7d521780698010ddb5 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 17 Feb 2009 20:56:53 +0000 Subject: Backed out fix for 8-digit pins, as comgt backed does not supports it (#45341, 46972) --- lib/network/connection/cellular_card.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/network/connection') diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index 5df6cda..e2753d6 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -107,12 +107,12 @@ sub get_networks { sub get_hardware_settings { my ($self) = @_; - [ { label => N("PIN number"), val => \$self->{hardware}{pin}, hidden => 1 } ]; + [ { label => N("PIN number (4 digits)"), val => \$self->{hardware}{pin}, hidden => 1 } ]; } sub check_hardware_settings { my ($self) = @_; - if ($self->{hardware}{pin} !~ /^[0-9]{4,8}$/) { + if ($self->{hardware}{pin} !~ /^[0-9]{4}$/) { $self->{hardware}{error} = translate($wrong_pin_error); return 0; } -- cgit v1.2.1