|
|
@ -7,7 +7,7 @@ definePageMeta({ |
|
|
|
title: 'title.headLogin', |
|
|
|
title: 'title.headLogin', |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const { signIn: _signIn } = useGlobal() |
|
|
|
const { signIn: _signIn, appInfo } = useGlobal() |
|
|
|
|
|
|
|
|
|
|
|
const { api, isLoading, error } = useApi({ useGlobalInstance: true }) |
|
|
|
const { api, isLoading, error } = useApi({ useGlobalInstance: true }) |
|
|
|
|
|
|
|
|
|
|
@ -119,6 +119,18 @@ function resetError() { |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</button> |
|
|
|
</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 /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sign In with Google |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
|
|
<div class="text-end prose-sm"> |
|
|
|
<div class="text-end prose-sm"> |
|
|
|
{{ $t('msg.info.signUp.dontHaveAccount') }} |
|
|
|
{{ $t('msg.info.signUp.dontHaveAccount') }} |
|
|
|
<nuxt-link to="/signup">{{ $t('general.signUp') }}</nuxt-link> |
|
|
|
<nuxt-link to="/signup">{{ $t('general.signUp') }}</nuxt-link> |
|
|
|