mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
There is only one global provider name space, therefore allow
LuaAuthzProvider only in global scope. Remove unnecessary server config field. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1370466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1324,7 +1324,7 @@ static const char *register_authz_provider(cmd_parms *cmd, void *_cfg,
|
||||
const char *function)
|
||||
{
|
||||
lua_authz_provider_spec *spec;
|
||||
const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE);
|
||||
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
Reference in New Issue
Block a user