From fb09c50af61f0e8349d5e3cb32b799b449c203d6 Mon Sep 17 00:00:00 2001 From: timthedev07 Date: Fri, 29 Dec 2023 03:23:11 +0100 Subject: [PATCH] shit...fix --- app/src/lib/authoptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/lib/authoptions.ts b/app/src/lib/authoptions.ts index 199b07d..ab41406 100644 --- a/app/src/lib/authoptions.ts +++ b/app/src/lib/authoptions.ts @@ -44,7 +44,7 @@ export const authOptions: AuthOptions = { // forbid blocked users if (u && u.blocked) return false; - return process.env.NODE_ENV === "development"; + return true; }, async session({ session, user }) { session.user = {