summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-23 11:08:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-23 11:08:20 +0000
commitd6544505ae1a2b75a9b2bddc8a8b6334ee03b5f4 (patch)
treeaee076dd417c76538bfc3c30bfdcd8fed94692c6
parent057e49efb6314a77711d9a8b1af8238972321569 (diff)
downloaddrakx-d6544505ae1a2b75a9b2bddc8a8b6334ee03b5f4.tar
drakx-d6544505ae1a2b75a9b2bddc8a8b6334ee03b5f4.tar.gz
drakx-d6544505ae1a2b75a9b2bddc8a8b6334ee03b5f4.tar.bz2
drakx-d6544505ae1a2b75a9b2bddc8a8b6334ee03b5f4.tar.xz
drakx-d6544505ae1a2b75a9b2bddc8a8b6334ee03b5f4.zip
when passwords do not match, focus on first password entry, not the second (thanks to garrick)
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 93a4dfd2a..bffd331bb 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1093,7 +1093,7 @@ sub setRootPassword {
cancel => ($o->{security} <= 2 && !$::corporate ? _("No password") : ''),
callbacks => {
complete => sub {
- $sup->{password} eq $sup->{password2} or $o->ask_warn('', [ _("The passwords do not match"), _("Please try again") ]), return (1,1);
+ $sup->{password} eq $sup->{password2} or $o->ask_warn('', [ _("The passwords do not match"), _("Please try again") ]), return (1,0);
length $sup->{password} < 2 * $o->{security}
and $o->ask_warn('', _("This password is too simple (must be at least %d characters long)", 2 * $o->{security})), return (1,0);
return 0