Skip to content

Commit 0319467

Browse files
authored
Merge pull request #50848 from nextcloud/backport/50798/stable29
[stable29] fix(login): only show error state on login box if user interacted
2 parents dcffc89 + c306bd5 commit 0319467

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

core/src/components/login/LoginForm.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,5 +314,10 @@ export default {
314314
text-align: center;
315315
overflow-wrap: anywhere;
316316
}
317+
318+
// Only show the error state if the user interacted with the login box
319+
:deep(input:invalid:not(:user-invalid)) {
320+
border-color: var(--color-border-maxcontrast) !important;
321+
}
317322
}
318323
</style>

dist/core-login.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-login.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)