remove useless debug message

This commit is contained in:
Mylloon 2022-01-05 01:37:12 +01:00
parent e8069d93cc
commit 7ccb1e0dc7
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -28,10 +28,10 @@ pub async fn connexion(
let auth;
if !token.is_empty() {
auth = AuthenticationData::from_access_token(token);
println!("Login via token");
// println!("Login via token");
} else {
auth = AuthenticationData::from_password(pseudo, mot_de_passe);
println!("Login via pseudo/mot-de-passe");
// println!("Login via pseudo/mot-de-passe");
}
let mut api = Mattermost::new(url, auth);
api.store_session_token().await.unwrap();