Skip to content

Commit

Permalink
Merge pull request #50848 from nextcloud/backport/50798/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(login): only show error state on login box if user interacted
  • Loading branch information
susnux authored Feb 17, 2025
2 parents dcffc89 + c306bd5 commit 0319467
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions core/src/components/login/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -314,5 +314,10 @@ export default {
text-align: center;
overflow-wrap: anywhere;
}

// Only show the error state if the user interacted with the login box
:deep(input:invalid:not(:user-invalid)) {
border-color: var(--color-border-maxcontrast) !important;
}
}
</style>
4 changes: 2 additions & 2 deletions dist/core-login.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-login.js.map

Large diffs are not rendered by default.

0 comments on commit 0319467

Please sign in to comment.