File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,3 @@ EMAIL_SERVER_USER=
1414EMAIL_SERVER_PASSWORD =
1515EMAIL_FROM =
1616
17- AUTH_GOOGLE_ID =
18- AUTH_GOOGLE_SECRET =
Original file line number Diff line number Diff line change @@ -110,15 +110,15 @@ const Form = () => {
110110 Log in
111111 </ span >
112112 </ button >
113- < p
113+ { /* <p
114114 className={`py-6 text-[#707a8a] text-center ${styles.login_continue}`}
115115 >
116116 <span className="mr-1 "> Or</span>
117- </ p >
117+ </p> */ }
118118 </ div >
119- < div className = "flex w-full justify-center px-2 text-lg items-center" >
119+ { /* <div className="flex w-full justify-center px-2 text-lg items-center">
120120 <GoogleButton />
121- </ div >
121+ </div> */ }
122122 { error && (
123123 < small className = "block w-full px-2 text-red-600" > { error } </ small >
124124 ) }
Original file line number Diff line number Diff line change 11import NextAuth from "next-auth" ;
22import type { NextAuthOptions } from "next-auth" ;
33import { MongoDBAdapter } from "@next-auth/mongodb-adapter" ;
4- import GoogleProvider from "next-auth/providers/google" ;
54import CredentialsProvider from "next-auth/providers/credentials" ;
65import EmailProvider from "next-auth/providers/email"
76import dbConnect from "./dbConnect" ;
@@ -17,10 +16,6 @@ export const authOptions: NextAuthOptions = {
1716 secret : process . env . NEXTAUTH_SECRET ! ,
1817 // Configure one or more authentication providers
1918 providers : [
20- GoogleProvider ( {
21- clientId : process . env . AUTH_GOOGLE_ID ! ,
22- clientSecret : process . env . AUTH_GOOGLE_SECRET ! ,
23- } ) ,
2419 // ...add more providers here
2520 CredentialsProvider ( {
2621 name : "Credentials" ,
You can’t perform that action at this time.
0 commit comments