* 'none' should always be first module, better default

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4020
This commit is contained in:
mathias 2005-05-18 10:46:40 +00:00
parent 0320203c30
commit e70cb21d01

View file

@ -31,6 +31,7 @@
globals globals
\*------------------------------------------------------------------*/ \*------------------------------------------------------------------*/
static struct aAuth* alock_authmodules[] = { static struct aAuth* alock_authmodules[] = {
&alock_auth_none,
#ifdef PAM_PWD #ifdef PAM_PWD
&alock_auth_pam, &alock_auth_pam,
#endif #endif
@ -41,7 +42,6 @@ static struct aAuth* alock_authmodules[] = {
&alock_auth_md5, &alock_auth_md5,
&alock_auth_sha1, &alock_auth_sha1,
#endif /* HASH_PWD */ #endif /* HASH_PWD */
&alock_auth_none,
NULL NULL
}; };