From 6b46cf73703d95244bd34f4fc3429e177712e1d8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 16 Feb 2004 16:34:31 +0000 Subject: (setRootPassword) do not reset auth method when pressing "previous" in next step --- perl-install/install_steps_interactive.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 12970008a..9584ac00b 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -1165,6 +1165,10 @@ sub setRootPassword { { label => N("Authentication"), val => \$authentication_kind, list => [ authentication::kinds() ], format => \&authentication::kind2description, advanced => 1 }, ]) or delete $sup->{password}; + #- keep only one authentication + delete $o->{authentication}{$_} foreach authentication::kinds(); + $o->{authentication}{$authentication_kind} ||= ''; + authentication::ask_parameters($o, $o->{netc}, $o->{authentication}, $authentication_kind) or goto &setRootPassword; } install_steps::setRootPassword($o); -- cgit v1.2.1