From: Jo-Philipp Wich Date: Tue, 5 Oct 2010 19:35:38 +0000 (+0000) Subject: uhttpd: revert unrelated change in previous commit X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=817566a5be39053ee1bdf74be991b7f3ed283393;p=openwrt%2Fstaging%2Fjow.git uhttpd: revert unrelated change in previous commit SVN-Revision: 23261 --- diff --git a/package/uhttpd/src/uhttpd.c b/package/uhttpd/src/uhttpd.c index 86b7e63dd1..a818e1c450 100644 --- a/package/uhttpd/src/uhttpd.c +++ b/package/uhttpd/src/uhttpd.c @@ -558,9 +558,7 @@ static void uh_mainloop(struct config *conf, fd_set serv_fds, int max_fd) if( conf->lua_state && uh_path_match(conf->lua_prefix, req->url) ) { - /* auth ok? */ - if( uh_auth_check(cl, req, pin) ) - conf->lua_request(cl, req, conf->lua_state); + conf->lua_request(cl, req, conf->lua_state); } else #endif