aboutsummaryrefslogtreecommitdiffstats
path: root/src/auth.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/auth.h9
1 files changed, 9 insertions, 0 deletions
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