Skip to content

Commit

Permalink
shit...fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timthedev07 committed Dec 29, 2023
1 parent b8beee4 commit fb09c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/lib/authoptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit fb09c50

Please sign in to comment.