aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-05 19:35:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-05 19:35:38 +0000
commit817566a5be39053ee1bdf74be991b7f3ed283393 (patch)
treeb96959d1687f0d873a626328ef31484a93bce5c8 /package/uhttpd
parent88db961cf0f9a86d052e685fec9b77a8a692f70a (diff)
downloadupstream-817566a5be39053ee1bdf74be991b7f3ed283393.tar.gz
upstream-817566a5be39053ee1bdf74be991b7f3ed283393.tar.bz2
upstream-817566a5be39053ee1bdf74be991b7f3ed283393.zip
uhttpd: revert unrelated change in previous commit
SVN-Revision: 23261
Diffstat (limited to 'package/uhttpd')
-rw-r--r--package/uhttpd/src/uhttpd.c4
1 files changed, 1 insertions, 3 deletions
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