aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'teleterm/src/web')
-rw-r--r--teleterm/src/web/list.rs7
-rw-r--r--teleterm/src/web/login.rs7
-rw-r--r--teleterm/src/web/watch.rs8
3 files changed, 18 insertions, 4 deletions
diff --git a/teleterm/src/web/list.rs b/teleterm/src/web/list.rs
index 2807b7f..d74ac83 100644
--- a/teleterm/src/web/list.rs
+++ b/teleterm/src/web/list.rs
@@ -29,7 +29,12 @@ pub fn run(
.context(crate::error::Connect { address }),
)
});
- let client = crate::client::Client::raw("teleterm-web", connector, auth);
+ let client = crate::client::Client::raw(
+ "teleterm-web",
+ connector,
+ auth,
+ crate::protocol::AuthClient::Web,
+ );
let (w_sessions, r_sessions) = tokio::sync::oneshot::channel();
diff --git a/teleterm/src/web/login.rs b/teleterm/src/web/login.rs
index 2873887..0f082e1 100644
--- a/teleterm/src/web/login.rs
+++ b/teleterm/src/web/login.rs
@@ -34,7 +34,12 @@ pub fn run(
)
});
let auth = crate::protocol::Auth::plain(&username);
- let client = crate::client::Client::raw("teleterm-web", connector, &auth);
+ let client = crate::client::Client::raw(
+ "teleterm-web",
+ connector,
+ &auth,
+ crate::protocol::AuthClient::Web,
+ );
let (w_login, r_login) = tokio::sync::oneshot::channel();
diff --git a/teleterm/src/web/watch.rs b/teleterm/src/web/watch.rs
index 2bce9e0..e972654 100644
--- a/teleterm/src/web/watch.rs
+++ b/teleterm/src/web/watch.rs
@@ -59,8 +59,12 @@ pub fn run(
.context(crate::error::Connect { address }),
)
});
- let client =
- crate::client::Client::raw("teleterm-web", connector, &auth);
+ let client = crate::client::Client::raw(
+ "teleterm-web",
+ connector,
+ &auth,
+ crate::protocol::AuthClient::Web,
+ );
tokio::spawn(
Connection::new(