GNOME Bugzilla – Bug 706607
loginDialog: add support for auth without username / fix Not Listed?
Last modified: 2013-08-23 15:41:02 UTC
commit 93f072d1fcf578c4e7550bd755e84bd46abcd493 attempted to add support for auth without a username to the login screen, but do to a messed up rebase only partially added it. This commit fixes that.
Created attachment 252787 [details] [review] loginDialog: add support for auth without username / fix Not Listed?
Review of attachment 252787 [details] [review]: ::: js/gdm/loginDialog.js @@ +592,3 @@ this._user = null; + if (beginRequest == AuthPrompt.BeginRequestType.PROVIDE_USERNAME) { if (beginRequest == AuthPrompt.BeginRequestType.PROVIDE_USERNAME && !this._disableUserList) this._showUserList(); else this._hideUserListAndBeginVerification();
(pushed with that change) Attachment 252787 [details] pushed as 5f9e501 - loginDialog: add support for auth without username / fix Not Listed?
Actually this still isn't quite right. I mean it will work, but it means gnome-shell won't have any notion of who the user is when disable-user-list is TRUE since it's not the one asking for a username.
Created attachment 252794 [details] [review] loginDialog: ask for username up front if disable-user-list==TRUE Right now, we rely on PAM to ask for the username if disable-user-list is TRUE. This is suboptimal because it means we can't check if we should show a session menu. This commit changes disable-user-list==TRUE to ask for a username up front, rather than have PAM do it.
Review of attachment 252794 [details] [review]: OK.
Attachment 252794 [details] pushed as 44e3811 - loginDialog: ask for username up front if disable-user-list==TRUE