env fixes (#316)

This commit is contained in:
sriram veeraghanta 2023-02-22 00:53:22 +05:30 committed by GitHub
parent f17ecd597b
commit 2cadb3784b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ const SignInPage: NextPage = () => {
Sign in to your account
</h2>
<div className="mt-16 bg-white py-8 px-4 sm:rounded-lg sm:px-10">
{Boolean(process.env.NEXT_PUBLIC_ENABLE_OAUTH) ? (
{parseInt(process.env.NEXT_PUBLIC_ENABLE_OAUTH || "0") ? (
<>
<div className="mb-4">
<EmailSignInForm handleSuccess={onSignInSuccess} />