Fix login not working due to missing js variable..
This commit is contained in:
parent
ecfbf7e2d2
commit
9ab5a10816
@ -7,7 +7,7 @@
|
||||
<div
|
||||
class="bg-gray-800 border-teal-500 p-8 border-t-8 bg-white mb-6 rounded-lg shadow-lg"
|
||||
>
|
||||
<form @submit="userLogin">
|
||||
<form @submit.prevent="userLogin">
|
||||
<div class="mb-4">
|
||||
<label
|
||||
for="username"
|
||||
@ -76,8 +76,7 @@ export default {
|
||||
},
|
||||
}),
|
||||
methods: {
|
||||
userLogin(e) {
|
||||
e.preventDefault()
|
||||
userLogin() {
|
||||
this.$auth
|
||||
.loginWith('local', {
|
||||
data: this.form,
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
export default function ({ $vuetify }) {
|
||||
const theme = localStorage.getItem('theme') ?? 'light'
|
||||
$vuetify.theme.dark = theme === 'dark'
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user