diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts index 7d709d6..ee685ef 100644 --- a/pages/api/auth/[...nextauth].ts +++ b/pages/api/auth/[...nextauth].ts @@ -32,12 +32,15 @@ export default async function auth(req: NextApiRequest, res: NextApiResponse) { }), EmailProvider({ server: { - host: 'smtp.sendgrid.net', - port: 587, + host: "wirtanen.uberspace.de", + port: 465, + secure: true, auth: { - user: 'apikey', - pass: process.env.SENDGRID_API_KEY, + user: process.env.SMTP_USER, + pass: process.env.SMTP_PASS, }, + logger: true, + //debug: true, }, from: process.env.FROM_EMAIL, }),