gdm: Skip locked users
Don't show locked (disabled) users in the user list. Those are either "system" users with a shell or users disabled in the control-center. https://bugzilla.gnome.org/show_bug.cgi?id=673784
This commit is contained in:
parent
168e9eeac1
commit
bfbf812148
@ -488,6 +488,9 @@ const UserList = new Lang.Class({
|
|||||||
if (user.is_system_account())
|
if (user.is_system_account())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (user.locked)
|
||||||
|
return;
|
||||||
|
|
||||||
let userName = user.get_user_name();
|
let userName = user.get_user_name();
|
||||||
|
|
||||||
if (!userName)
|
if (!userName)
|
||||||
|
Loading…
Reference in New Issue
Block a user