forked from home-assistant/core
Fix: Login form shows error message again
This commit is contained in:
@@ -87,7 +87,7 @@
|
|||||||
this.spinnerMessage = this.isValidating ? this.MSG_VALIDATING : this.MSG_LOADING_DATA;
|
this.spinnerMessage = this.isValidating ? this.MSG_VALIDATING : this.MSG_LOADING_DATA;
|
||||||
|
|
||||||
if (authStore.wasLastAttemptInvalid()) {
|
if (authStore.wasLastAttemptInvalid()) {
|
||||||
this.$.passwordDecorator.error = this.authStore.getLastAttemptMessage();
|
this.$.passwordDecorator.error = authStore.getLastAttemptMessage();
|
||||||
this.$.passwordDecorator.isInvalid = true;
|
this.$.passwordDecorator.isInvalid = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user