]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
auth: Change passdb_default_fields and passdb_override_fields to be strlist
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 11 Jan 2024 18:25:27 +0000 (13:25 -0500)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 12 Feb 2025 10:34:11 +0000 (12:34 +0200)
commit398f80367201f939b4ac1ddc338c22baf74bb781
treef842464eab3f7ef433ad0f1215e21837826ee655
parentd1e5f84f177a0e85d6d2bd9808f7169a4706d3d5
auth: Change passdb_default_fields and passdb_override_fields to be strlist

Now that the %variable expansion is done by settings lookups, they had to
be moved to their own settings structs that are looked up at appropriate
times. Especially the override_fields must be looked up only after the
passdb lookup has finished, since it can refer to extra fields returned by
it.
src/auth/auth-request.c
src/auth/auth-request.h
src/auth/auth-settings.c
src/auth/auth-settings.h
src/auth/auth.c
src/auth/auth.h
src/auth/test-mock.c