diff --git a/install/variables/system.py b/install/variables/system.py index 8eb76e0..608e5d5 100644 --- a/install/variables/system.py +++ b/install/variables/system.py @@ -174,7 +174,8 @@ class VariableClInstallHomeCryptSet(UserHelper,Variable): self.label = _("Crypt user profiles") def get(self): - return self.Get('cl_home_crypt_set') + return ("off" if self.Get('cl_autologin') + else self.Get('cl_home_crypt_set')) def check(self,value): if value == "on" and self.Get('cl_autologin'):