Hi

In the latest dev version of this module, the function that validates email addresses has gone, at the moment it allows downloads without making sure a valid email address has been entered.

Is this a permanent change? The $validEmailRegex bit made it really easy to restrict email addresses to certain domains as well as ensure an actual email address was used.

Dave

Comments

hadsie’s picture

Hey Dave,

No, there's no plan to put validEmailRegex back into the module as I believe the Drupal valid_email_address() function is a better option. With that said, I do think that restricting by domain name is a worthwhile (and relatively easy) feature to add to the module.