From c6c570e92d9c6128c129c52eb4a90c191ebcb554 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 20 Feb 2003 13:11:31 +0000 Subject: no autologin by default if more than one users --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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"), -- cgit v1.2.1