summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"),