File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 55
55
name =" username"
56
56
id =" username"
57
57
ref =" usernameInput"
58
- oninput =" setCustomValidity('')"
59
58
@keydown.enter =" passwordInput.focus()"
60
59
class =" w-full"
61
60
placeholder =
" [email protected] " required />
66
65
v-model =" password"
67
66
ref =" passwordInput"
68
67
autocomplete =" current-password"
69
- oninput =" setCustomValidity('')"
70
68
@keydown.enter =" login"
71
69
:type =" !showPw ? 'password': 'text'" name =" password" id =" password" placeholder =" ••••••••" class =" w-full" required >
72
70
<template #rightIcon >
@@ -185,16 +183,6 @@ onMounted(async () => {
185
183
186
184
187
185
async function login () {
188
-
189
- if (! username .value ) {
190
- usernameInput .value .setCustomValidity (t (' Please fill out this field.' ));
191
- return ;
192
- }
193
- if (! password .value ) {
194
- passwordInput .value .setCustomValidity (t (' Please fill out this field.' ));
195
- return ;
196
- }
197
-
198
186
if (inProgress .value ) {
199
187
return ;
200
188
}
You can’t perform that action at this time.
0 commit comments