mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
authPrompt: Hide password when insensitive
The purpose of password peeking is to spot and correct errors; the latter isn't possible when the entry is non-editable, so we can hide the password again while authentication is ongoing. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3138
This commit is contained in:
parent
76b03647b3
commit
82da51d5a1
1 changed files with 2 additions and 0 deletions
|
|
@ -432,6 +432,8 @@ var AuthPrompt = GObject.registerClass({
|
|||
|
||||
if (sensitive)
|
||||
this._entry.grab_key_focus();
|
||||
else if (this._entry === this._passwordEntry)
|
||||
this._entry.password_visible = false;
|
||||
}
|
||||
|
||||
vfunc_hide() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue