mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
FIX: clear previous errors on second factor form display (#14987)
This commit is contained in:
parent
a3a4f16e88
commit
113ecab7a6
@ -160,6 +160,7 @@ export default Controller.extend(ModalFunctionality, {
|
||||
// Successful login
|
||||
if (result && result.error) {
|
||||
this.set("loggingIn", false);
|
||||
this.clearFlash();
|
||||
|
||||
if (
|
||||
(result.security_key_enabled || result.totp_enabled) &&
|
||||
|
Loading…
Reference in New Issue
Block a user