remove extra line

This commit is contained in:
wh1te909 2020-09-26 21:18:56 +00:00
parent d0c800c7f1
commit 5fe1fe21ae
2 changed files with 5 additions and 6 deletions

View File

@ -11,7 +11,7 @@ AUTH_USER_MODEL = "accounts.User"
# bump this version everytime vue code is changed
# to alert user they need to manually refresh their browser
APP_VER = "0.0.62"
APP_VER = "0.0.63"
# https://github.com/wh1te909/salt
LATEST_SALT_VER = "1.1.0"

View File

@ -2,7 +2,7 @@
<q-layout>
<q-page-container>
<q-page class="flex bg-image flex-center">
<q-card v-bind:style="$q.screen.lt.sm?{'width': '80%'}:{'width':'30%'}">
<q-card v-bind:style="$q.screen.lt.sm ? { width: '80%' } : { width: '30%' }">
<q-card-section>
<div class="text-center q-pt-lg">
<div class="col text-h4 ellipsis">Tactical RMM</div>
@ -15,7 +15,7 @@
v-model="credentials.username"
label="Username"
lazy-rules
:rules="[ val => val && val.length > 0 || 'This field is required']"
:rules="[val => (val && val.length > 0) || 'This field is required']"
/>
<q-input
@ -24,7 +24,7 @@
v-model="credentials.password"
label="Password"
lazy-rules
:rules="[ val => val && val.length > 0 || 'This field is required']"
:rules="[val => (val && val.length > 0) || 'This field is required']"
/>
<div>
@ -44,7 +44,7 @@
autofocus
outlined
v-model="credentials.twofactor"
:rules="[ val => val && val.length > 0 || 'This field is required']"
:rules="[val => (val && val.length > 0) || 'This field is required']"
/>
</q-card-section>
@ -87,7 +87,6 @@ export default {
localStorage.setItem("user_name", username);
this.$store.commit("retrieveToken", { token, username });
this.$router.push({ name: "TOTPSetup" });
this;
} else {
this.prompt = true;
}