Skip to main content

mas_active

Function mas_active 

Source
pub(crate) fn mas_active(config: &Config) -> bool
Expand description

True when Matrix Authentication Service delegation is active, in which case the Synapse-mirrored admin routes MAS owns (user admin, login-as, reset_password, registration tokens) are left unregistered and answer 404, mirroring Synapse’s de-registration of those servlets.