Skip to content

Commit

Permalink
DEBUG staging auth
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars committed Jun 15, 2023
1 parent 716d667 commit 473c112
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/features/auth/lib/next-auth-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const providers: Provider[] = [
totpCode: { label: "Two-factor Code", type: "input", placeholder: "Code from authenticator app" },
},
async authorize(credentials) {
console.log("next-auth-options.ts – authorize – credentials", credentials);
if (!credentials) {
console.error(`For some reason credentials are missing`);
throw new Error(ErrorCode.InternalServerError);
Expand Down

0 comments on commit 473c112

Please sign in to comment.