Skip to content

Commit 4aad170

Browse files
committed
add .env.example
1 parent 12a26d9 commit 4aad170

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.env.example

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Environment variables declared in this file are automatically made available to Prisma.
2+
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
3+
4+
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
5+
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
6+
7+
DATABASE_URL=
8+
DIRECT_URL=
9+
10+
AUTH_SECRET=
11+
12+
GITHUB_CLIENT_ID=
13+
GITHUB_CLIENT_SECRET=
14+
15+
GOOGLE_CLIENT_ID=
16+
GOOGLE_CLIENT_SECRET=
17+
18+
RESEND_API_KEY=
19+
20+
# DEV
21+
LOCAL_ENVIRONMENT=
22+
LOCAL_EMAIL=

src/actions/reset.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const reset = async (values: z.infer<typeof ResetSchema>) => {
2222
return { error: "Email not found!" };
2323
}
2424

25-
// TODO: Generate token & send email
25+
// Generate token & send email
2626
const passwordResetToken = await generatePasswordResetToken(email);
2727
await sendPasswordResetEmail(
2828
passwordResetToken.email,

0 commit comments

Comments
 (0)