mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Bug on auth google.
This commit is contained in:
@@ -9,9 +9,9 @@ export const metadata: Metadata = {
|
|||||||
|
|
||||||
export default async function SignInPage() {
|
export default async function SignInPage() {
|
||||||
const authGoogleEnabled = env.AUTH_GOOGLE_METHOD;
|
const authGoogleEnabled = env.AUTH_GOOGLE_METHOD;
|
||||||
if (!authGoogleEnabled) {
|
// if (!authGoogleEnabled) {
|
||||||
notFound()
|
// notFound()
|
||||||
}
|
// }
|
||||||
return (
|
return (
|
||||||
<div className="mx-auto grid w-full gap-6">
|
<div className="mx-auto grid w-full gap-6">
|
||||||
<LoginForm authGoogleEnabled={authGoogleEnabled}/>
|
<LoginForm authGoogleEnabled={authGoogleEnabled}/>
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ export const env = createEnv({
|
|||||||
|
|
||||||
AUTH_GOOGLE_ID: z.string().optional(),
|
AUTH_GOOGLE_ID: z.string().optional(),
|
||||||
AUTH_GOOGLE_SECRET: z.string().optional(),
|
AUTH_GOOGLE_SECRET: z.string().optional(),
|
||||||
AUTH_GOOGLE_METHOD: z.boolean().default(false).optional(),
|
AUTH_GOOGLE_METHOD: z.boolean().default(false),
|
||||||
|
|
||||||
S3_ENDPOINT: z.string().optional(),
|
S3_ENDPOINT: z.string().optional(),
|
||||||
S3_ACCESS_KEY: z.string().optional(),
|
S3_ACCESS_KEY: z.string().optional(),
|
||||||
|
|||||||
Reference in New Issue
Block a user