uhttpd: revert unrelated change in previous commit
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Oct 2010 19:35:38 +0000 (19:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Oct 2010 19:35:38 +0000 (19:35 +0000)
SVN-Revision: 23261

package/uhttpd/src/uhttpd.c

index 86b7e63..a818e1c 100644 (file)
@@ -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