summaryrefslogtreecommitdiff
path: root/htroot/api/bookmarks/posts/add_p.java
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2012-05-24 13:24:31 +0200
committerMichael Peter Christen <mc@yacy.net>2012-05-24 13:24:31 +0200
commit8b974905ee68d9502d12a14a5f425f0d43431db0 (patch)
treedb03a3c4f71cc01fdef564da1d9685c78ff9b2e8 /htroot/api/bookmarks/posts/add_p.java
parent16b21f7a5b43f0462ef2b59e04008ddb52e87b62 (diff)
changed log-in text for all servlets with authentication:
- added hint how to set the password using a shell script - added a shell script to change the password
Diffstat (limited to 'htroot/api/bookmarks/posts/add_p.java')
-rw-r--r--htroot/api/bookmarks/posts/add_p.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/htroot/api/bookmarks/posts/add_p.java b/htroot/api/bookmarks/posts/add_p.java
index 918a5412b..8cd8025ea 100644
--- a/htroot/api/bookmarks/posts/add_p.java
+++ b/htroot/api/bookmarks/posts/add_p.java
@@ -36,7 +36,7 @@ public class add_p {
if (!isAdmin) {
// force authentication if desired
if(post.containsKey("login")){
- prop.put("AUTHENTICATE","admin log-in");
+ prop.authenticationRequired();
}
return prop;
}