Skip to content

Commit

Permalink
Add log for sign in callback
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodellosso committed Feb 24, 2025
1 parent b78ba52 commit 7b9d17f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export const AuthenticationOptions: AuthOptions = {
* For email sign in, runs when the "Sign In" button is clicked (before email is sent).
*/
async signIn({ user }) {
console.log(`User is signing in: ${user.name}, ${user.email}, ${user.id}`);

Analytics.signIn(user.name ?? "Unknown User");
const db = await getDatabase(false);

Expand Down

0 comments on commit 7b9d17f

Please sign in to comment.