authPrompt: Unset preemptiveAnswer on reset
When we get a reset signal the preemptiveAnswer should be also unset or it will be used next time the user authPrompt will be activated, even without any further user interaction. Fixes #311 (cherry picked from commit d21657fe61f9a41734554811c29c54979ca2dbb9)
This commit is contained in:
parent
2a2f3c981e
commit
bf318df7f3
@ -439,6 +439,7 @@ var AuthPrompt = new Lang.Class({
|
||||
this.verificationStatus = AuthPromptStatus.NOT_VERIFYING;
|
||||
this.cancelButton.reactive = true;
|
||||
this.nextButton.label = _("Next");
|
||||
this._preemptiveAnswer = null;
|
||||
|
||||
if (this._userVerifier)
|
||||
this._userVerifier.cancel();
|
||||
|
Loading…
x
Reference in New Issue
Block a user