projects
/
dovecot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e750bc3
)
auth: Add a comment about updating userdb_find()
author
Timo Sirainen
<timo.sirainen@open-xchange.com>
Mon, 16 May 2022 12:58:45 +0000
(14:58 +0200)
committer
Noah Meyerhans
<noahm@debian.org>
Sat, 30 Jul 2022 02:58:28 +0000
(19:58 -0700)
Gbp-Pq: Name auth-Add-a-comment-about-updating-userdb_find.patch
src/auth/userdb.c
patch
|
blob
|
history
diff --git
a/src/auth/userdb.c
b/src/auth/userdb.c
index 21751f92970b006da00dfd07c7ea8a0639b2374f..c71a47919d3d6952783981dd44447c741eb97ca5 100644
(file)
--- a/
src/auth/userdb.c
+++ b/
src/auth/userdb.c
@@
-158,7
+158,8
@@
userdb_preinit(pool_t pool, const struct auth_userdb_settings *set)
userdb->id = ++auth_userdb_id;
userdb->iface = iface;
userdb->args = p_strdup(pool, set->args);
-
+ /* NOTE: if anything else than driver & args are added here,
+ userdb_find() also needs to be updated. */
array_push_back(&userdb_modules, &userdb);
return userdb;
}