summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/cellular_card.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/connection/cellular_card.pm')
-rw-r--r--lib/network/connection/cellular_card.pm2
1 files changed, 1 insertions, 1 deletions
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;
}