mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 10:46:41 +00:00
uhttpd: revert unrelated change in previous commit
SVN-Revision: 23261
This commit is contained in:
parent
88db961cf0
commit
817566a5be
@ -558,9 +558,7 @@ static void uh_mainloop(struct config *conf, fd_set serv_fds, int max_fd)
|
|||||||
if( conf->lua_state &&
|
if( conf->lua_state &&
|
||||||
uh_path_match(conf->lua_prefix, req->url) )
|
uh_path_match(conf->lua_prefix, req->url) )
|
||||||
{
|
{
|
||||||
/* auth ok? */
|
conf->lua_request(cl, req, conf->lua_state);
|
||||||
if( uh_auth_check(cl, req, pin) )
|
|
||||||
conf->lua_request(cl, req, conf->lua_state);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user