summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-05 19:35:38 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-05 19:35:38 +0000
commitad72ee2eb61c02e07552a308933a89a8f142492a (patch)
tree795e14f074c3e1691e57ee4add5f0693e139e075 /package
parentce67681a34e5797615e9d07685ad3ec017b6ddad (diff)
[package] uhttpd: revert unrelated change in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23261 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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