diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-06 05:19:41 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-06 05:19:41 +0000 |
commit | d2a9ccb0dad055a1dd8a9dbb9cfe688942011fbc (patch) | |
tree | 457df73fa30b77e1ee6f45073d3f29c967cb2d3d /perl-install | |
parent | 205c71d34d6445fe8641c5258ddf15816628c94f (diff) | |
download | drakx-d2a9ccb0dad055a1dd8a9dbb9cfe688942011fbc.tar drakx-d2a9ccb0dad055a1dd8a9dbb9cfe688942011fbc.tar.gz drakx-d2a9ccb0dad055a1dd8a9dbb9cfe688942011fbc.tar.bz2 drakx-d2a9ccb0dad055a1dd8a9dbb9cfe688942011fbc.tar.xz drakx-d2a9ccb0dad055a1dd8a9dbb9cfe688942011fbc.zip |
(build_notebook) Authentication is used for modems only (better fix for #11142)
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakconnect | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 4e6bef554..ca274aede 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -477,9 +477,11 @@ sub build_notebook { ), ); - my %auth_methods = map_index { $::i => $_ } N("PAP"), N("Terminal-based"), N("Script-based"), N("CHAP"), N("PAP/CHAP"); - $gui->{intf}{auth}->set_popdown_strings(sort values %auth_methods); - $gui->{intf}{auth}->set_text($auth_methods{$intf->{Authentication}}) if $auth_methods{$intf->{Authentication}}; + if ($interface eq 'modem') { + my %auth_methods = map_index { $::i => $_ } N("PAP"), N("Terminal-based"), N("Script-based"), N("CHAP"), N("PAP/CHAP"); + $gui->{intf}{auth}->set_popdown_strings(sort values %auth_methods); + $gui->{intf}{auth}->set_text($auth_methods{$intf->{Authentication}}); + } $gui->{intf}{passwd}->set_visibility(0); } |