Skip to content

Commit

Permalink
refactor/ debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dev2820 committed Aug 13, 2023
1 parent f799596 commit 0a9d585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/router/auth/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ GoogleAuth.get(
failureRedirect: '/callback/failure',
}),
async (ctx) => {
console.log(ctx.query);
const { userEmail, userName, provider } = normalizeUser(ctx.state.user);

if (!isEmail(userEmail)) {
Expand Down

0 comments on commit 0a9d585

Please sign in to comment.