Skip to content

Commit

Permalink
fix: next auth email provider config
Browse files Browse the repository at this point in the history
  • Loading branch information
heryTz committed Oct 16, 2024
1 parent 72b5294 commit 8374a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/auth/[...nextauth]/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const authOptions: AuthOptions = {
EmailProvider({
server: {
host: process.env.SMTP_HOST,
port: process.env.SMTP_PORT,
port: +(process.env.SMTP_PORT || 3000),
secure: process.env.SMTP_SECURE !== "false",
auth: {
user: process.env.SMTP_USER,
Expand Down

0 comments on commit 8374a98

Please sign in to comment.