summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-08 10:07:55 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-08 10:07:55 +0000
commit354b9f730c0eb4573ac9715d3969efa1be83515a (patch)
tree5e468eee43d87c8055b9864cffe706d6b88b9d5a /perl-install/standalone
parent4565ff5efddf045e4689508b1b44387d06312c01 (diff)
downloaddrakx-354b9f730c0eb4573ac9715d3969efa1be83515a.tar
drakx-354b9f730c0eb4573ac9715d3969efa1be83515a.tar.gz
drakx-354b9f730c0eb4573ac9715d3969efa1be83515a.tar.bz2
drakx-354b9f730c0eb4573ac9715d3969efa1be83515a.tar.xz
drakx-354b9f730c0eb4573ac9715d3969efa1be83515a.zip
improve drakauth GUI
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakauth5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/drakauth b/perl-install/standalone/drakauth
index 56cf23447..be6f0cf43 100755
--- a/perl-install/standalone/drakauth
+++ b/perl-install/standalone/drakauth
@@ -24,9 +24,10 @@ my $meta_class = { getVarsFromSh("/etc/sysconfig/system") }->{META_CLASS};
my @kinds = authentication::kinds($in->do_pkgs, $meta_class);
main:
-$in->ask_from(N("Authentication"), authentication::kind2description(@kinds),
+$in->ask_from(N("Authentication"), undef,
[
- { label => N("Authentication"), val => \$kind, type => 'list' , list => \@kinds, format => \&authentication::kind2name },
+ { label => N("Authentication") },
+ { val => \$kind, type => 'list' , list => \@kinds, format => \&authentication::kind2description },
]) or $in->exit;
authentication::ask_parameters($in, $net, $authentication, $kind) or goto main;