Skip to main content

email_domain_allowed

Function email_domain_allowed 

Source
pub fn email_domain_allowed(
    allowed_domains: Option<&str>,
    email: &str,
) -> Result<bool>
Expand description

Returns whether an email address is allowed by a stored allow-list JSON string.