Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/mech-otp.c @ 8605:84eea1977632 HEAD
auth: Code cleanup for specifying what passdb features auth mechanisms need.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 09 Jan 2009 11:15:56 -0500 |
parents | 971050640e3b |
children |
line wrap: on
line diff
--- a/src/auth/mech-otp.c Fri Jan 09 11:09:17 2009 -0500 +++ b/src/auth/mech-otp.c Fri Jan 09 11:15:56 2009 -0500 @@ -253,10 +253,7 @@ "OTP", MEMBER(flags) MECH_SEC_DICTIONARY | MECH_SEC_ACTIVE, - - MEMBER(passdb_need_plain) FALSE, - MEMBER(passdb_need_credentials) TRUE, - MEMBER(passdb_need_set_credentials) TRUE, + MEMBER(passdb_need) MECH_PASSDB_NEED_SET_CREDENTIALS, mech_otp_auth_new, mech_generic_auth_initial,