The ListCachedUsers method currently returns users that have been explicitly requested by a client. It's weird that merely querying a user can make it show up in login screen user lists. Furthermore, UncacheUser is broken since commit 177509e9460b149ecbf85e75c930be2ea00b7d05 because the user has been explicitly requested in order to uncache it. So trying to uncache a user inadvertently caches the user. This commit fixes that.
Created attachment 131370 [details] [review] daemon: don't treat explicitly requested users as "cached"
Attachment 131370 [details] pushed as edac457 - daemon: don't treat explicitly requested users as "cached"
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.