Skip to content

Commit 0b75350

Browse files
susnuxAndyScherzinger
authored andcommitted
fix(login): only show error state on login box if user interacted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 2abf275 commit 0b75350

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/src/components/login/LoginForm.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,5 +304,10 @@ export default {
304304
text-align: center;
305305
overflow-wrap: anywhere;
306306
}
307+
308+
// Only show the error state if the user interacted with the login box
309+
:deep(input:invalid:not(:user-invalid)) {
310+
border-color: var(--color-border-maxcontrast) !important;
311+
}
307312
}
308313
</style>

0 commit comments

Comments
 (0)