Tightening up accessor visibility on Authenticator.

This commit is contained in:
Dave Hrycyszyn
2020-08-13 12:12:13 +01:00
parent b27c5906d7
commit ba81dde4a9
+1 -2
View File
@@ -18,10 +18,9 @@ pub struct User {
}
#[derive(Clone, Debug)]
pub(crate) struct Authenticator {
allowed_users: Vec<User>,
pub auth_methods: Vec<u8>, // DH TODO: this should not be public
pub(crate) auth_methods: Vec<u8>,
}
impl Authenticator {