Skip to content

Commit

Permalink
fix writting autologin
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Sep 24, 2021
1 parent 93703af commit a429957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/y2users/users_module/reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def read_useradd_defaults(config)
# @return [LoginConfig]
def read_autologin(config)
res = LoginConfig.new
res.autologin_user = Yast::Autologin.user.empty? ? nil : Yast::Autologin.user
res.autologin_user = Yast::Autologin.user.empty? ? nil : config.users.by_name(Yast::Autologin.user)
res.passwordless = Yast::Autologin.pw_less

config.login = res
Expand Down

0 comments on commit a429957

Please sign in to comment.