Skip to content

Commit

Permalink
chore: add emailRequired for testing Gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Sep 11, 2024
1 parent 3bd553c commit 408b580
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playground/server/routes/auth/gitlab.get.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export default oauthGitLabEventHandler({
config: {
emailRequired: true,
},
async onSuccess(event, { user }) {
await setUserSession(event, {
user: {
Expand Down

0 comments on commit 408b580

Please sign in to comment.