From a0470bfc6648214325f1024bed1e5626839d885f Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 29 Oct 2012 17:43:28 +0100 Subject: [PATCH] UnlockDialog: clear the password on failure It is wrong, and the user can't correct it because it's obfuscated. Just let him type it again. https://bugzilla.gnome.org/show_bug.cgi?id=687132 --- js/ui/unlockDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index b119783c1..a902563f5 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -282,6 +282,7 @@ const UnlockDialog = new Lang.Class({ this._currentQuery = null; this._firstQuestion = true; + this._promptEntry.text = ''; this._promptEntry.clutter_text.set_password_char('\u25cf'); this._promptEntry.menu.isPassword = true;