|
|
|
@ -7,7 +7,7 @@ definePageMeta({
|
|
|
|
|
title: 'title.headLogin', |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
const { signIn: _signIn } = useGlobal() |
|
|
|
|
const { signIn: _signIn, appInfo } = useGlobal() |
|
|
|
|
|
|
|
|
|
const { api, isLoading, error } = useApi({ useGlobalInstance: true }) |
|
|
|
|
|
|
|
|
@ -119,6 +119,18 @@ function resetError() {
|
|
|
|
|
</span> |
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
<a |
|
|
|
|
v-if="appInfo.googleAuthEnabled" |
|
|
|
|
:href="`${appInfo.ncSiteUrl}/auth/google`" |
|
|
|
|
class="scaling-btn bg-opacity-100 after:(!bg-white) !text-primary !no-underline" |
|
|
|
|
> |
|
|
|
|
<span class="flex items-center gap-2"> |
|
|
|
|
<LogosGoogleGmail /> |
|
|
|
|
|
|
|
|
|
{{ $t('labels.signInWithGoogle') }} |
|
|
|
|
</span> |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<div class="text-end prose-sm"> |
|
|
|
|
{{ $t('msg.info.signUp.dontHaveAccount') }} |
|
|
|
|
<nuxt-link to="/signup">{{ $t('general.signUp') }}</nuxt-link> |
|
|
|
|