aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm/src/protocol.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-26 00:58:00 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-26 00:58:00 -0500
commit81fc5c6a2c6df38025961945cb496ccc4d432036 (patch)
treea52144909ace2e0fa4d47333cc059a46c4a04b99 /teleterm/src/protocol.rs
parentd55090ca3e7c3bf421ba58f02db3a97f7b21e631 (diff)
downloadteleterm-81fc5c6a2c6df38025961945cb496ccc4d432036.tar.gz
teleterm-81fc5c6a2c6df38025961945cb496ccc4d432036.zip
allow configuring the allowed login methods for the web server
Diffstat (limited to 'teleterm/src/protocol.rs')
-rw-r--r--teleterm/src/protocol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/teleterm/src/protocol.rs b/teleterm/src/protocol.rs
index dd928e2..d2b7806 100644
--- a/teleterm/src/protocol.rs
+++ b/teleterm/src/protocol.rs
@@ -52,7 +52,7 @@ impl<T: tokio::io::AsyncWrite> FramedWriter<T> {
pub const PROTO_VERSION: u8 = 1;
#[repr(u8)]
-#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
+#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, serde::Serialize)]
pub enum AuthType {
Plain = 0,
RecurseCenter,