Skip to content

Commit 22d0826

Browse files
committed
chore: remove unused setCustomValidity
1 parent 70d2c73 commit 22d0826

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

adminforth/spa/src/views/LoginView.vue

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,6 @@ onMounted(async () => {
183183
184184
185185
async function login() {
186-
187-
if (!username.value) {
188-
usernameInput.value.setCustomValidity(t('Please fill out this field.'));
189-
return;
190-
}
191-
if (!password.value) {
192-
passwordInput.value.setCustomValidity(t('Please fill out this field.'));
193-
return;
194-
}
195-
196186
if (inProgress.value) {
197187
return;
198188
}

0 commit comments

Comments
 (0)