Paramètres : test de connexion Qlik branché sur le module qlik

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LG2LLJuswrrTTPKJmunEVf
This commit is contained in:
Claude committed 2026-10-12 19:30:42 +00:00
1 parent b6f8f586f2
commit 1294824863
1 file changed
+10 -2
+10 -2
View File
@@ -4,8 +4,16 @@
use serde_json::Value;
/// Ouvre une session Qlik (NTLM → ticket → cookie) avec les identifiants donnés.
pub async fn tester_session(_host: String, _user: String, _password: Option<String>) -> anyhow::Result<()> {
anyhow::bail!("Test Qlik indisponible : module en cours de portage")
pub async fn tester_session(host: String, user: String, password: Option<String>) -> anyhow::Result<()> {
let enregistre = crate::qlik::client::get_qlik_config();
let mut cfg = enregistre.clone();
cfg.user = user;
cfg.password = password.unwrap_or(enregistre.password);
if !host.is_empty() {
cfg.host = host;
}
crate::qlik::client::qlik_ntlm_session(&cfg).await?;
Ok(())
}
/// Oublie l'URL mémorisée de l'API FF Nancy.