28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
diff --git a/pyanaconda/ui/gui/spokes/root_password.py b/pyanaconda/ui/gui/spokes/root_password.py
|
|
index c2a99fe..d61ae9b 100644
|
|
--- a/pyanaconda/ui/gui/spokes/root_password.py
|
|
+++ b/pyanaconda/ui/gui/spokes/root_password.py
|
|
@@ -166,7 +166,7 @@ class PasswordSpoke(FirstbootSpokeMixIn, NormalSpoke, GUISpokeInputCheckHandler)
|
|
|
|
@property
|
|
def mandatory(self):
|
|
- return not any(user for user in self.data.user.userList if "wheel" in user.groups)
|
|
+ return True
|
|
|
|
def apply(self):
|
|
pw = self.password
|
|
diff --git a/pyanaconda/ui/tui/spokes/root_password.py b/pyanaconda/ui/tui/spokes/root_password.py
|
|
index 5f3e157..7a83c99 100644
|
|
--- a/pyanaconda/ui/tui/spokes/root_password.py
|
|
+++ b/pyanaconda/ui/tui/spokes/root_password.py
|
|
@@ -64,8 +64,7 @@ class PasswordSpoke(FirstbootSpokeMixIn, NormalTUISpoke):
|
|
|
|
@property
|
|
def mandatory(self):
|
|
- return not any(user for user in self.data.user.userList
|
|
- if "wheel" in user.groups)
|
|
+ return True
|
|
|
|
@property
|
|
def status(self):
|