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:
Adel Gadllah 2012-04-09 18:43:44 +02:00
parent 168e9eeac1
commit bfbf812148

View File

@ -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)