Skip to content

Commit

Permalink
Merge pull request #1880 from Giveth/feat/remove_verify_email_eligibl…
Browse files Browse the repository at this point in the history
…e_form

Remove email verification on project verification form
  • Loading branch information
kkatusic authored Dec 3, 2024
2 parents b77f184 + 0d0a991 commit 1e69f7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/repositories/projectVerificationRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ export const createProjectVerificationForm = async (params: {
return ProjectVerificationForm.create({
project,
user,
// This has been added becasue we are now doing verification of the email on user profile and not on project verification form
email: user?.email ?? '',
emailConfirmed: true,
emailConfirmedAt: new Date(),
} as ProjectVerificationForm).save();
};

Expand Down

0 comments on commit 1e69f7e

Please sign in to comment.