I dont even remember
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<Form v-if="!userData.authenticated" v-slot="$form" @submit="onFormSubmit">
|
||||
<Form v-if="userData === null || !userData.authenticated" v-slot="$form" @submit="onFormSubmit">
|
||||
<div class="flex flex-column">
|
||||
<InputText name="username" type="text" placeholder="Username" fluid />
|
||||
<Password name="password" placeholder="Password" :feedback="false" fluid />
|
||||
@@ -7,7 +7,7 @@
|
||||
</div>
|
||||
</Form>
|
||||
|
||||
<div v-if="userData.authenticated">
|
||||
<div v-if="userData !== null && userData.authenticated">
|
||||
<div>Logged in as: {{ userData.is_admin ? 'Admin' : '' }} {{ userData.username }}</div>
|
||||
<Form v-slot="$form" @submit="onResetPassword">
|
||||
<Password name="password" placeholder="Password" :feedback="false" fluid />
|
||||
|
||||
Reference in New Issue
Block a user