fix env variables

This commit is contained in:
Emily
2024-07-03 15:58:56 +02:00
parent 5314ba3f89
commit aedabd3b36
5 changed files with 14 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
definePageMeta({ layout: 'none' });
const config = useRuntimeConfig()
const isNoAuth = ref<boolean>(config.public.GOOGLE_AUTH_CLIENT_ID == undefined);
const isNoAuth = ref<boolean>(config.public.AUTH_MODE == 'NO_AUTH');
const useCodeClientWrapper = isNoAuth.value === false ?
useCodeClient :