Fix login bug. Improve reservations
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
filled
|
||||
></q-input>
|
||||
<q-btn
|
||||
type="submit"
|
||||
@click="login(email, password)"
|
||||
type="button"
|
||||
@click="doLogin"
|
||||
label="Login"
|
||||
color="primary"
|
||||
></q-btn>
|
||||
@@ -44,7 +44,7 @@
|
||||
></q-btn> -->
|
||||
</q-form>
|
||||
</q-card-section>
|
||||
<q-card-section><GoogleOauthComponent /></q-card-section>
|
||||
<!-- <q-card-section><GoogleOauthComponent /></q-card-section> -->
|
||||
</q-card>
|
||||
</q-page>
|
||||
</q-page-container>
|
||||
@@ -69,8 +69,12 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import { login } from 'boot/appwrite';
|
||||
import GoogleOauthComponent from 'src/components/GoogleOauthComponent.vue';
|
||||
// import GoogleOauthComponent from 'src/components/GoogleOauthComponent.vue';
|
||||
|
||||
const email = ref('');
|
||||
const password = ref('');
|
||||
|
||||
const doLogin = async () => {
|
||||
login(email.value, password.value);
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user