summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-17 20:56:53 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-17 20:56:53 +0000
commit4761832a331993cc742a6c7d521780698010ddb5 (patch)
tree7cf45ef24cac5671f402641962fbd6f3a0a655f4
parentc24b796f47d277d32d99f0ac1762a3c65bcfaab7 (diff)
downloaddrakx-net-4761832a331993cc742a6c7d521780698010ddb5.tar
drakx-net-4761832a331993cc742a6c7d521780698010ddb5.tar.gz
drakx-net-4761832a331993cc742a6c7d521780698010ddb5.tar.bz2
drakx-net-4761832a331993cc742a6c7d521780698010ddb5.tar.xz
drakx-net-4761832a331993cc742a6c7d521780698010ddb5.zip
Backed out fix for 8-digit pins, as comgt backed does not supports it
(#45341, 46972)
-rw-r--r--lib/network/connection/cellular_card.pm4
1 files changed, 2 insertions, 2 deletions
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;
}