authPrompt: Keep password entry on reset

Usually, logging in or unlocking the session is made asynchronously,
and AuthPrompt properly manages which entry is currently visible.
External code don't rely on any specific entry to be set, since it
is AuthPrompt's responsibility to select the correct one to be shown.

However, there's one specific case where AuthPrompt must preserve
the password entry: on reset. The reset code preserved whatever
entry was currently displayed, but after fe69daca, it always
changes to the username entry.

Make sure to show the password entry on reset.

parent 523eec52
Pipeline #152015 passed with stages
in 7 minutes and 16 seconds
......@@ -452,6 +452,7 @@ var AuthPrompt = GObject.registerClass({
this._message.opacity = 0;
if (oldStatus == AuthPromptStatus.VERIFICATION_FAILED)
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