mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
loginDialog: show session menu button when in auth failed
Right now we only show the session menu button when verifying, but we should also show it when verification is failed or we can end up in situation where the session menu disappears during an authentication retry. https://bugzilla.gnome.org/show_bug.cgi?id=707064
This commit is contained in:
parent
9582f9b6e5
commit
8b977252f3
1 changed files with 2 additions and 1 deletions
|
|
@ -592,7 +592,8 @@ const LoginDialog = new Lang.Class({
|
|||
},
|
||||
|
||||
_shouldShowSessionMenuButton: function() {
|
||||
if (this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.VERIFYING)
|
||||
if (this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.VERIFYING &&
|
||||
this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.VERIFICATION_FAILED)
|
||||
return false;
|
||||
|
||||
if (this._user && this._user.is_loaded && this._user.is_logged_in())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue