Skip to content

Commit

Permalink
Update debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
nkshah2 committed Sep 12, 2023
1 parent 112b78e commit dada57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/dashboard/recipeimplementation.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func makeRecipeImplementation(querier supertokens.Querier) dashboardmodels.Recip
userEmail, emailOk := verifyResponse["email"]

if !emailOk || userEmail.(string) == "" {
supertokens.LogDebugMessage("User Dashboard: Returning Unauthorised because no email was provided in headers")
supertokens.LogDebugMessage("User Dashboard: Returning Unauthorised because no email was returned from the core. Should never come here")
return false, nil
}

Expand Down

0 comments on commit dada57d

Please sign in to comment.