Commit 3c27196e authored by Nick Kew's avatar Nick Kew
Browse files

Change directives from OR_AUTHCFG to ACCESS_CONF

SQL config in .htaccess doesn't make sense and could have security issues.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329497 13f79535-47bb-0310-9956-ffa450edef68
parent e8a91eb6
Loading
Loading
Loading
Loading
+3 −3
Changes for modules/aaa/mod_authn_dbd.c: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -76,10 +76,10 @@ static const char *authn_dbd_prepare(cmd_parms *cmd, void *cfg, const char *quer
static const command_rec authn_dbd_cmds[] =
{
    AP_INIT_TAKE1("AuthDBDUserPWQuery", authn_dbd_prepare,
                  (void *)APR_OFFSETOF(authn_dbd_conf, user), OR_AUTHCFG,
                  (void *)APR_OFFSETOF(authn_dbd_conf, user), ACCESS_CONF,
                  "Query used to fetch password for user"),
    AP_INIT_TAKE1("AuthDBDUserRealmPWQuery", authn_dbd_prepare,
                  (void *)APR_OFFSETOF(authn_dbd_conf, realm), OR_AUTHCFG,
    AP_INIT_TAKE1("AuthDBDUserRealmQuery", authn_dbd_prepare,
                  (void *)APR_OFFSETOF(authn_dbd_conf, realm), ACCESS_CONF,
                  "Query used to fetch password for user+realm"),
    {NULL}
};