Skip to content

Can we Remove the Project Validator for Project Emails? #5126

Closed Answered by fguillot
aljawaid asked this question in Q&A
Discussion options

You must be logged in to vote

The original commit is there: d5c4c18

Removing the unique constraint would lead to unpredictable behavior when fetching a project by email from the database.

public function getByEmail($email)
{
if (empty($email)) {
return false;
}
return $this->db->table(self::TABLE)->eq('email', $email)->findOne();
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fguillot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants