Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljohanneskraft committed Nov 7, 2024
1 parent 1f5fa5b commit 533eb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/functions/blocking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const beforeUserCreatedFunction = beforeUserCreated(
const credential = event.credential

// Escape hatch for users using invitation code to enroll
if (!credential) return {}
if (!credential) return { customClaims: {} }

if (event.data.email === undefined)
throw new https.HttpsError(
Expand Down

0 comments on commit 533eb48

Please sign in to comment.