Skip to content

Commit da552ed

Browse files
committed
fix .env for REQUIRE_EMAIL_VERIFICATION default value
1 parent 0f78ead commit da552ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dotenv.config();
66
export default {
77
security: {
88
requireEmailVerification:
9-
process.env.REQUIRE_EMAIL_VERIFICATION === "true" || true,
9+
(process.env.REQUIRE_EMAIL_VERIFICATION || "true") === "true",
1010
},
1111
db: {
1212
user: process.env.DB_USER || "postgres",

0 commit comments

Comments
 (0)