Introduce ModelsManager and migrate app-server to use it. (#7552)

This commit is contained in:
Ahmed Ibrahim
2025-12-03 17:17:56 -08:00
committed by GitHub
parent 70b97790be
commit 00cc00ead8
14 changed files with 56 additions and 71 deletions

View File

@@ -1201,4 +1201,8 @@ impl AuthManager {
self.reload();
Ok(removed)
}
pub fn get_auth_mode(&self) -> Option<AuthMode> {
self.auth().map(|a| a.mode)
}
}