diff src/auth/auth-settings.c @ 17060:eaadd1e1fea2

auth: Don't crash when userdb hasn't been specified at all.
author Timo Sirainen <tss@iki.fi>
date Thu, 12 Dec 2013 17:59:28 +0200
parents eeadb7b5045b
children add8c00fb3cc
line wrap: on
line diff
--- a/src/auth/auth-settings.c	Thu Dec 12 16:37:37 2013 +0200
+++ b/src/auth/auth-settings.c	Thu Dec 12 17:59:28 2013 +0200
@@ -172,6 +172,7 @@
 };
 
 static const struct auth_userdb_settings auth_userdb_default_settings = {
+	/* NOTE: when adding fields, update also auth.c:userdb_dummy_set */
 	.driver = "",
 	.args = "",
 	.default_fields = "",