Skip to content

Commit 7b9d17f

Browse files
Add log for sign in callback
1 parent b78ba52 commit 7b9d17f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/Auth.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ export const AuthenticationOptions: AuthOptions = {
9898
* For email sign in, runs when the "Sign In" button is clicked (before email is sent).
9999
*/
100100
async signIn({ user }) {
101+
console.log(`User is signing in: ${user.name}, ${user.email}, ${user.id}`);
102+
101103
Analytics.signIn(user.name ?? "Unknown User");
102104
const db = await getDatabase(false);
103105

0 commit comments

Comments
 (0)