From c7ca6a31e4cb3ee1904bf953f69eb72cd99ba766 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Mon, 16 Feb 2009 20:06:31 +0000 Subject: Support large PIN (up to 8 digits) (#46972). --- lib/network/connection/cellular_card.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network/connection') diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index 4581ea3..5df6cda 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -112,7 +112,7 @@ sub get_hardware_settings { sub check_hardware_settings { my ($self) = @_; - if ($self->{hardware}{pin} !~ /^[0-9]{4}$/) { + if ($self->{hardware}{pin} !~ /^[0-9]{4,8}$/) { $self->{hardware}{error} = translate($wrong_pin_error); return 0; } -- cgit v1.2.1