dev #10

Merged
fbenoist68 merged 17 commits from dev into main 2024-01-02 21:21:55 +01:00
Showing only changes of commit 368d51e061 - Show all commits

View File

@ -38,8 +38,8 @@ const errors = ref<Record<string, string | undefined>>({
const refVForm = ref<VForm>() const refVForm = ref<VForm>()
const credentials = ref({ const credentials = ref({
username: 'Fred', username: '',
password: 'admin123', password: '',
}) })
const rememberMe = ref(false) const rememberMe = ref(false)
@ -120,19 +120,6 @@ const onSubmit = () => {
Please sign-in to your account and start the adventure Please sign-in to your account and start the adventure
</p> </p>
</VCardText> </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> <VCardText>
<VForm <VForm
ref="refVForm" ref="refVForm"
@ -144,7 +131,7 @@ const onSubmit = () => {
<AppTextField <AppTextField
v-model="credentials.username" v-model="credentials.username"
label="Username" label="Username"
placeholder="johndoe" placeholder="First name"
type="username" type="username"
autofocus autofocus
:rules="[requiredValidator]" :rules="[requiredValidator]"