Allow for enforcement in post-auth
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Aug 2014 08:15:29 +0000 (10:15 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Aug 2014 08:15:29 +0000 (10:15 +0200)
Which is really where they should be

src/modules/rlm_expiration/rlm_expiration.c
src/modules/rlm_logintime/rlm_logintime.c

index 44f868f..5205e54 100644 (file)
@@ -135,6 +135,6 @@ module_t rlm_expiration = {
                NULL,                   /* checksimul */
                NULL,                   /* pre-proxy */
                NULL,                   /* post-proxy */
-               NULL                    /* post-auth */
+               mod_authorize           /* post-auth */
        },
 };
index 27cbc4d..80195c9 100644 (file)
@@ -268,6 +268,6 @@ module_t rlm_logintime = {
                NULL,                   /* checksimul */
                NULL,                   /* pre-proxy */
                NULL,                   /* post-proxy */
-               NULL                    /* post-auth */
+               mod_authorize           /* post-auth */
        },
 };