From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 5 Oct 2010 19:35:38 +0000 (+0000)
Subject: [package] uhttpd: revert unrelated change in previous commit
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/ad72ee2eb61c02e07552a308933a89a8f142492a

[package] uhttpd: revert unrelated change in previous commit


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23261 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/package/uhttpd/src/uhttpd.c b/package/uhttpd/src/uhttpd.c
index 86b7e63dd..a818e1c45 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