Email footer rework

This commit is contained in:
PxlLoewe
2025-06-01 10:26:10 -07:00
parent 9c4c51f274
commit 55e44d9cde
6 changed files with 49 additions and 121 deletions

View File

@@ -69,15 +69,7 @@ export const options: AuthOptions = {
},
});
if (!dbUser) {
return {
...session,
user: {
name: null,
email: null,
image: null,
},
expires: new Date().toISOString(),
};
return null as any;
}
return {
...session,