diff options
Diffstat (limited to 'lockchain-core/src/users/auth.rs')
-rw-r--r-- | lockchain-core/src/users/auth.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lockchain-core/src/users/auth.rs b/lockchain-core/src/users/auth.rs index ec2aea7..aee3be1 100644 --- a/lockchain-core/src/users/auth.rs +++ b/lockchain-core/src/users/auth.rs @@ -7,14 +7,7 @@ // use nix::unistd::{fork, ForkResult}; use pam_auth::Authenticator; - -#[derive(Debug)] -pub enum AuthError { - FailedFork, - FailedPAM, - InvalidUser, - UserNotAuthorised, -} +use errors::AuthError; /// Simple way to authenticate a user for administrative actions /// |