Skip to content

Commit

Permalink
Merge pull request #1810 from Infisical/check-saml-email-verification
Browse files Browse the repository at this point in the history
Update isEmailVerified field upon invite signups
  • Loading branch information
maidul98 authored May 9, 2024
2 parents 9c15cb4 + 3952ad9 commit 9dfb587
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/src/services/org/org-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,10 @@ export const orgServiceFactory = ({
code
});

await userDAL.updateById(user.id, {
isEmailVerified: true
});

if (user.isAccepted) {
// this means user has already completed signup process
// isAccepted is set true when keys are exchanged
Expand Down

0 comments on commit 9dfb587

Please sign in to comment.