Skip to main content

unmarked_passwordless

Function unmarked_passwordless 

Source
pub(crate) async fn unmarked_passwordless(
    services: &Services,
    deactivated: Option<&Arc<Map>>,
    user_id: &UserId,
) -> Result<bool>
Expand description

Whether the account’s password here is empty while no foreign column marks it deactivated.

The empty password a foreign database gives an account authenticated elsewhere is the byte pattern this server writes for a deactivation, so the foreign marker is the only thing separating them. A row neither side can read is reported rather than guessed at.