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

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

index ed09c02..a76ffb3 100644 (file)
@@ -211,6 +211,6 @@ module_t rlm_expiration = {
                NULL,                   /* checksimul */
                NULL,                   /* pre-proxy */
                NULL,                   /* post-proxy */
-               NULL                    /* post-auth */
+               expiration_authorize    /* post-auth */
        },
 };
index 24c1fe6..6a26b9b 100644 (file)
@@ -322,6 +322,6 @@ module_t rlm_logintime = {
                NULL,                   /* checksimul */
                NULL,                   /* pre-proxy */
                NULL,                   /* post-proxy */
-               NULL                    /* post-auth */
+               logintime_authorize     /* post-auth */
        },
 };