• Steve Halasz's avatar
    Only show one error message for an invalid email · 36ec5eaf
    Steve Halasz authored
    If notification_email is blank, it's set from email. If an admin
    attempted to create a user with an invalid email, an error would be
    displayed for both fields. Only validate the notification_email if it's
    different from email.
    36ec5eaf
users_controller_spec.rb 6.24 KB