Skip to main content

bind_new_account_email

Function bind_new_account_email 

Source
pub(crate) async fn bind_new_account_email(
    services: &Services,
    user_id: &UserId,
    email_canon: &str,
) -> Result
Expand description

Bind a new account’s canonical email address unless another account holds it.

An address held elsewhere is skipped with a warning rather than failing the registration that brought it.