diff src/auth/auth-request.h @ 5129:9b1a90eddfd0 HEAD

Special extra_fields weren't saved to auth cache. This was especially problematic for allow_nets which was ignored if the user was already in cache.
author Timo Sirainen <tss@iki.fi>
date Thu, 15 Feb 2007 12:47:00 +0200
parents f0cc5486696e
children 83f361144a8a
line wrap: on
line diff
--- a/src/auth/auth-request.h	Thu Feb 15 12:31:18 2007 +0200
+++ b/src/auth/auth-request.h	Thu Feb 15 12:47:00 2007 +0200
@@ -42,6 +42,9 @@
            with "userdb_" are skipped. If prefetch userdb is used, it uses
            the "userdb_" prefixed fields. */
         struct auth_stream_reply *extra_fields;
+	/* extra_fields that aren't supposed to be sent to the client, but
+	   are supposed to be stored to auth cache. */
+	struct auth_stream_reply *extra_cache_fields;
 
 	struct mech_module *mech;
 	struct auth *auth;