simplified editing of server authentication.

as changes to server.properties are now immediately read and accessible
from the manage-application we just have a md5-encoding utility and leave
it to the admin to add the values to the server.properties file. this makes
sure that nothing can be changed via the web.

changes to allowadmin are effective immediately too.
This commit is contained in:
stefanp 2002-11-22 11:58:37 +00:00
parent cd8ebdd41b
commit 7bd5803a33
4 changed files with 24 additions and 36 deletions

View file

@ -1,10 +1,3 @@
//// strictly limit access to localhost:
//if ( req.data.http_remotehost!="localhost" && req.data.http_remotehost!="127.0.0.1" ) {
// app.logEvent( req.data.http_remotehost + " tried to access makekey");
// return;
//}
if ( checkAuth()==false )
return;