summaryrefslogtreecommitdiffstats
path: root/modules/aaa/mod_authz_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/aaa/mod_authz_user.c')
-rw-r--r--modules/aaa/mod_authz_user.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/aaa/mod_authz_user.c b/modules/aaa/mod_authz_user.c
index 8607a033d1..75c21589b0 100644
--- a/modules/aaa/mod_authz_user.c
+++ b/modules/aaa/mod_authz_user.c
@@ -81,10 +81,11 @@ static const authz_provider authz_validuser_provider =
static void register_hooks(apr_pool_t *p)
{
- ap_register_provider(p, AUTHZ_PROVIDER_GROUP, "user", "0",
- &authz_user_provider);
- ap_register_provider(p, AUTHZ_PROVIDER_GROUP, "valid-user", "0",
- &authz_validuser_provider);
+ ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "user", "0",
+ &authz_user_provider, AP_AUTH_INTERNAL_PER_CONF);
+ ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "valid-user", "0",
+ &authz_validuser_provider,
+ AP_AUTH_INTERNAL_PER_CONF);
}
module AP_MODULE_DECLARE_DATA authz_user_module =