Remove dead refs and empty focus handlers from LoginPage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,6 @@
|
|||||||
autofocus
|
autofocus
|
||||||
v-model.trim="auth.username"
|
v-model.trim="auth.username"
|
||||||
@change="changeHandler($event)"
|
@change="changeHandler($event)"
|
||||||
@focus="onInputAccountFocus"
|
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label for="passwordt" class="relative block">
|
<label for="passwordt" class="relative block">
|
||||||
@@ -44,7 +43,6 @@
|
|||||||
required
|
required
|
||||||
v-model.trim="auth.password"
|
v-model.trim="auth.password"
|
||||||
@change="changeHandler($event)"
|
@change="changeHandler($event)"
|
||||||
@focus="onInputPwdFocus"
|
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
class="absolute bottom-2 right-4 inline-flex items-center cursor-pointer"
|
class="absolute bottom-2 right-4 inline-flex items-center cursor-pointer"
|
||||||
@@ -106,7 +104,6 @@ const { auth, isInvalid } = storeToRefs(store);
|
|||||||
const { signIn, setRememberedReturnToUrl } = store;
|
const { signIn, setRememberedReturnToUrl } = store;
|
||||||
|
|
||||||
// Data
|
// Data
|
||||||
const isDisabled = ref(true);
|
|
||||||
const showPassword = ref(false);
|
const showPassword = ref(false);
|
||||||
const isJustFocus = ref(true);
|
const isJustFocus = ref(true);
|
||||||
|
|
||||||
@@ -129,10 +126,6 @@ function changeHandler(event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function onInputAccountFocus() {}
|
|
||||||
|
|
||||||
function onInputPwdFocus() {}
|
|
||||||
|
|
||||||
// Created logic
|
// Created logic
|
||||||
// Handle the case where a user pastes a page URL into the browser without being logged in
|
// Handle the case where a user pastes a page URL into the browser without being logged in
|
||||||
// btoa: Base64-encode the string
|
// btoa: Base64-encode the string
|
||||||
|
|||||||
Reference in New Issue
Block a user