fix: login and password

refactor/issue-1/first-setup
Frédérik Benoist 2023-12-19 18:38:29 +01:00
parent dbb7be74fd
commit 368d51e061
1 changed files with 3 additions and 16 deletions

View File

@ -38,8 +38,8 @@ const errors = ref<Record<string, string | undefined>>({
const refVForm = ref<VForm>()
const credentials = ref({
username: 'Fred',
password: 'admin123',
username: '',
password: '',
})
const rememberMe = ref(false)
@ -120,19 +120,6 @@ const onSubmit = () => {
Please sign-in to your account and start the adventure
</p>
</VCardText>
<VCardText>
<VAlert
color="primary"
variant="tonal"
>
<p class="text-sm mb-2">
Admin username: <strong>admin</strong> / Pass: <strong>admin</strong>
</p>
<p class="text-sm mb-0">
Support username: <strong>support</strong> / Pass: <strong>support</strong>
</p>
</VAlert>
</VCardText>
<VCardText>
<VForm
ref="refVForm"
@ -144,7 +131,7 @@ const onSubmit = () => {
<AppTextField
v-model="credentials.username"
label="Username"
placeholder="johndoe"
placeholder="First name"
type="username"
autofocus
:rules="[requiredValidator]"