e desklock pam error - go back to previous text
since we had translations of this, go back to the prior text so we keep these. also dont show if using a personal password. related to fixing T6779
This commit is contained in:
parent
76eeffa2f6
commit
55c8ac4625
|
@ -248,13 +248,13 @@ e_desklock_show(Eina_Bool suspend)
|
||||||
E_Zone *zone;
|
E_Zone *zone;
|
||||||
|
|
||||||
#if !defined(HAVE_PAM) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
#if !defined(HAVE_PAM) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||||
e_util_dialog_show(_("Cannot use password authentication"),
|
if (!e_desklock_is_personal())
|
||||||
_("Enlightenment was built without PAM support.<br>"
|
{
|
||||||
"This means Enlightenment cannot authenticate<br>"
|
e_util_dialog_show(_("Error - no PAM support"),
|
||||||
"your password. This means locking makes no<br>"
|
_("No PAM support was built into Enlightenment, so<ps/>"
|
||||||
"sense because we have no other way to authenticate<br>"
|
"desk locking is disabled."));
|
||||||
"you as a user."));
|
return EINA_FALSE;
|
||||||
return EINA_FALSE;
|
}
|
||||||
#endif
|
#endif
|
||||||
if (_e_desklock_state) return EINA_TRUE;
|
if (_e_desklock_state) return EINA_TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue