Skip to content

Commit c6784ba

Browse files
committed
Added logging when the magic link authentication function is called
1 parent 6b8b1c7 commit c6784ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/webapp/app/services/emailAuth.server.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ const emailStrategy = new EmailLinkStrategy(
2626
form: FormData;
2727
magicLinkVerify: boolean;
2828
}) => {
29+
logger.info("Magic link user authenticated", { email, magicLinkVerify });
30+
2931
try {
3032
const { user, isNewUser } = await findOrCreateUser({
3133
email,

0 commit comments

Comments
 (0)