2002-03-11 13:49:50 +00:00
|
|
|
|
|
|
|
if ( checkAddress()==false ) return;
|
|
|
|
if ( checkAuth()==false ) return;
|
|
|
|
|
|
|
|
if ( req.data.value!=null ) {
|
2002-03-26 12:47:49 +00:00
|
|
|
res.write ( Packages.helma.util.MD5Encoder.encode(req.data.value) );
|
2002-03-11 13:49:50 +00:00
|
|
|
} else {
|
|
|
|
res.write ( '<html><head></head><body><form method=post action=makekey><input type=password name=value><input type=submit></form></body></html>' );
|
|
|
|
}
|
|
|
|
|