From a8548c0484595d316f9f8be8e3fa984b6572fc33 Mon Sep 17 00:00:00 2001
From: orbiter What You should do next:
Peer Name:
+
Peer User:
Peer Password:
Peer Password: (repeat same password)
-What You should do next:
+
#(nextStep)#
-Your basic configuration is complete, you can start searching, start your own crawl, or just monitor at the network page what the other peers are doing.::
+Your basic configuration is complete! You can now (for example):
+
+
::
Your Peer name is a default name; please set another peer name. If this does not work, the name is probably taken by someone else. Please try to choose another one.::
You did not set a user name and/or a password. Some pages are protected by passwords. You should set a password here to secure your yacy peer.::
You did not open a port in your firewall or your router does not forward the server port to your peer. This is needed if you want to fully participate in the YaCy network. You can also use your peer without opening your peer, but this is not recomended.
diff --git a/htroot/ConfigBasic.java b/htroot/ConfigBasic.java
index 81f524df4..ccac99345 100644
--- a/htroot/ConfigBasic.java
+++ b/htroot/ConfigBasic.java
@@ -86,10 +86,13 @@ public class ConfigBasic {
String port = (post == null) ? env.getConfig("port", "8080") : (String) post.get("port", "8080");
// admin password
- if ((user.length() > 0) && (pw1.equals(pw2))) {
+ if ((user.length() > 0) && (pw1.length() > 3) && (pw1.equals(pw2))) {
// check passed. set account:
env.setConfig("adminAccountBase64MD5", serverCodings.encodeMD5Hex(kelondroBase64Order.standardCoder.encodeString(user + ":" + pw1)));
env.setConfig("adminAccount", "");
+ // authenticate immediately
+ //prop.put("AUTHENTICATE", "admin log-in");
+ //return prop;
}
// check if peer name already exists
diff --git a/htroot/ConfigProfile_p.html b/htroot/ConfigProfile_p.html
index e3af9ca53..d0fec4de2 100644
--- a/htroot/ConfigProfile_p.html
+++ b/htroot/ConfigProfile_p.html
@@ -13,7 +13,7 @@
You can create a personal profile here. Other YaCy users can view these information using a link on the network page.
You do not need to provide any personal data here, but if you want to distribute your contact information, you can do that here.