mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[displaymanager] Simplify do_autologin initialization
This commit is contained in:
parent
7f47b2f9ca
commit
e1f7dbdbb9
1 changed files with 1 additions and 4 deletions
|
@ -148,10 +148,7 @@ def set_autologin(username,
|
|||
:param default_desktop_environment:
|
||||
:param root_mount_point:
|
||||
"""
|
||||
do_autologin = True
|
||||
|
||||
if username is None:
|
||||
do_autologin = False
|
||||
do_autologin = (username is not None)
|
||||
|
||||
if "mdm" == displaymanager:
|
||||
# Systems with MDM as Desktop Manager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue