From 4b204339078eb55ba9309f1fd669b1792d6b43c6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 22 Nov 2013 09:45:40 +0100 Subject: add crypt auth module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/auth.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/auth.h') diff --git a/src/auth.h b/src/auth.h index c24a70d..3851b95 100644 --- a/src/auth.h +++ b/src/auth.h @@ -31,6 +31,15 @@ #elif AUTH == 1 +#include "auth/crypt.h" +#define close_login_session(...) /* do nothing */ +#define initialise_login initialise_crypt +#define authenticate_login authenticate_crypt +#define verify_account(...) /* do nothing */ +#define open_login_session(...) /* do nothing */ + +#elif AUTH == 2 + #include "auth/pam.h" #define close_login_session close_session_pam #define initialise_login initialise_pam -- cgit v1.2.3-70-g09d2