Commit 82da51d5 authored by Florian Müllner's avatar Florian Müllner

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.

#3138
parent 76b03647
Pipeline #215498 passed with stages
in 5 minutes and 27 seconds
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment