Forráskód Böngészése

uhttpd: revert unrelated change in previous commit

SVN-Revision: 23261
Jo-Philipp Wich 15 éve
szülő
commit
817566a5be
1 módosított fájl, 1 hozzáadás és 3 törlés
  1. 1 3
      package/uhttpd/src/uhttpd.c

+ 1 - 3
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