pub fn find_duplicate_identity(
provider: OAuthProviderId,
account_id: &str,
except: &Account,
) -> Result<Option<Account>, String>Expand description
Duplicate-identity guard for login: returns the account (of the same
provider, other than except) that already stores account_id.