Commit graph

2 commits

Author SHA1 Message Date
GitLab Bot
e723867717 Add latest changes from gitlab-org/gitlab@master 2019-12-17 18:07:48 +00:00
Horatiu Eugen Vlad
c8c0ea6c52 Align EmailValidator to validate_email gem implementation.
Renamed EmailValidator to DeviseEmailValidator to avoid 'email:' naming collision with ActiveModel::Validations::EmailValidator in 'validates' statement.
Make use of the options attribute of the parent class ActiveModel::EachValidator.
Add more options: regex.
2019-03-05 19:56:01 +00:00