diff options
Diffstat (limited to 'lockchain-core/src/users/auth.rs')
-rw-r--r-- | lockchain-core/src/users/auth.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lockchain-core/src/users/auth.rs b/lockchain-core/src/users/auth.rs index 1a8758c..e5e8178 100644 --- a/lockchain-core/src/users/auth.rs +++ b/lockchain-core/src/users/auth.rs @@ -3,7 +3,6 @@ //! The way a user is authenticated is via the `lockchain` group //! and a simple writing/ deleting of a lock file. -use pam_auth::Authenticator; use errors::AuthError; /// Simple way to authenticate a user for administrative actions @@ -23,7 +22,6 @@ pub fn pam_authenticate(username: &str, password: &str) -> Result<(), AuthError> unimplemented!() } -/// Tbd... -pub fn yubikey_authenticate(username: &str, yubi_id: &str) -> Result<(), AuthError> { - unimplemented!() -}
\ No newline at end of file +// pub fn yubikey_authenticate(username: &str, yubi_id: &str) -> Result<(), AuthError> { +// unimplemented!() +// }
\ No newline at end of file |