Fixes GitHub auth check (#1774)

This commit is contained in:
Mihovil Ilakovac 2024-02-15 20:22:59 +01:00 committed by GitHub
parent ad19fee424
commit 3edb2fe921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@ export * from './username'
{=# isGoogleAuthEnabled =} {=# isGoogleAuthEnabled =}
export * from './google' export * from './google'
{=/ isGoogleAuthEnabled =} {=/ isGoogleAuthEnabled =}
{=# isGithubAuthEnabled =} {=# isGitHubAuthEnabled =}
export * from './github' export * from './github'
{=/ isGithubAuthEnabled =} {=/ isGitHubAuthEnabled =}
export { export {
default as useAuth, default as useAuth,
getMe, getMe,

View File

@ -11,9 +11,9 @@ export type { CustomizationOptions } from '../../auth/forms/types'
{=# isGoogleAuthEnabled =} {=# isGoogleAuthEnabled =}
export { SignInButton as GoogleSignInButton } from '../../auth/helpers/Google' export { SignInButton as GoogleSignInButton } from '../../auth/helpers/Google'
{=/ isGoogleAuthEnabled =} {=/ isGoogleAuthEnabled =}
{=# isGithubAuthEnabled =} {=# isGitHubAuthEnabled =}
export { SignInButton as GithubSignInButton } from '../../auth/helpers/GitHub' export { SignInButton as GithubSignInButton } from '../../auth/helpers/GitHub'
{=/ isGithubAuthEnabled =} {=/ isGitHubAuthEnabled =}
export { export {
FormError, FormError,
FormInput, FormInput,