diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/network/connection/cellular_card.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- cellular backend: + o support large PIN (from 4 to 8 digits) (#46972) - net_monitor: o more informative default connection information and control (#17140) o add option to reset traffic counter (#46676) 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; } |