summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 9d1e9cbc2..902fd4057 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -919,6 +919,9 @@ sub addUser {
any::ask_users($o->{prefix}, $o, $o->{users}, $o->{security});
}
any::get_autologin($o->{prefix}, $o);
+ if (!$::expert && !$clicked && $o->{users}) {
+ $o->{autologin} = $o->{users}[0]{name};
+ }
any::autologin($o->{prefix}, $o, $o);
install_steps::addUser($o);