Commit efbf102b authored by Jonh Wendell's avatar Jonh Wendell

gdm: clear the messages queue when the user answers a prompt

the messages were being shown even when the user entered the
right information they were asked for.
parent 4d1668b0
......@@ -164,6 +164,7 @@ const ShellUserVerifier = new Lang.Class({
answerQuery: function(serviceName, answer) {
if (!this._userVerifier.hasPendingMessages) {
this._userVerifier.call_answer_query(serviceName, answer, this._cancellable, null);
} else {
let signalId = this._userVerifier.connect('no-more-messages',
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