This commit is contained in:
2020-03-05 00:55:58 +00:00
parent 23c3db31e7
commit 891b21e888

View File

@@ -23,7 +23,6 @@
prepend-icon="fa-user" prepend-icon="fa-user"
label="User" label="User"
autofocus autofocus
clearable
autocomplete="off" autocomplete="off"
autocorrect="off" autocorrect="off"
autocapitalize="off" autocapitalize="off"
@@ -37,12 +36,13 @@
<v-text-field <v-text-field
name="password" name="password"
v-model="input.password" v-model="input.password"
:append-outer-icon="reveal ? 'fa-eye' : 'fa-eye-slash'"
prepend-icon="fa-key" prepend-icon="fa-key"
label="Password" label="Password"
type="password" :type="reveal ? 'text' : 'password'"
clearable
:error="errorBadCreds" :error="errorBadCreds"
v-on:keyup.enter="login" v-on:keyup.enter="login"
@click:append-outer="reveal = !reveal"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="12" md="7" mt-1 class="text-center"> <v-col cols="12" md="7" mt-1 class="text-center">
@@ -68,7 +68,8 @@ export default {
username: "manager", username: "manager",
password: "l3tm3in" password: "l3tm3in"
}, },
errorBadCreds: false errorBadCreds: false,
reveal: false
}; };
}, },
created() { created() {