remove useless debug message
This commit is contained in:
parent
e8069d93cc
commit
7ccb1e0dc7
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue