summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-20 13:11:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-20 13:11:31 +0000
commitc6c570e92d9c6128c129c52eb4a90c191ebcb554 (patch)
tree802d5094935f08dae998dee9d3c704926b31f153
parentaa802485390d6d6245b2551630e8ec13eaa80eec (diff)
downloaddrakx-backup-do-not-use-c6c570e92d9c6128c129c52eb4a90c191ebcb554.tar
drakx-backup-do-not-use-c6c570e92d9c6128c129c52eb4a90c191ebcb554.tar.gz
drakx-backup-do-not-use-c6c570e92d9c6128c129c52eb4a90c191ebcb554.tar.bz2
drakx-backup-do-not-use-c6c570e92d9c6128c129c52eb4a90c191ebcb554.tar.xz
drakx-backup-do-not-use-c6c570e92d9c6128c129c52eb4a90c191ebcb554.zip
no autologin by default if more than one users
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index f5299bb9e..ab6d559c2 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -596,7 +596,7 @@ sub autologin {
my @users = map { $_->{name} } @{$o->{users} || []};
if (@wm > 1 && @users && !$o->{authentication}{NIS} && $o->{security} <= 2) {
- my $use_autologin = 1;
+ my $use_autologin = @users == 1;
$in->ask_from_(
{ title => N("Autologin"),