Skip to content

Commit

Permalink
bugfix for httpauth logout.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2203 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
allo committed Jun 12, 2006
1 parent b23703f commit 958408c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/User.java
Expand Up @@ -160,7 +160,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
if(entry != null){
entry.logout(((String)header.get("CLIENTIP", "xxxxxx")), getLoginToken(header.getHeaderCookies())); //todo: logout cookie
}
if(sb.verifyAuthentication(header, true)){ //XXX: for httpauth userDB user, too?
if(! ((String) header.get(httpHeader.AUTHORIZATION, "xxxxxx")).equals("xxxxxx")){
prop.put("AUTHENTICATE","admin log-in");
}
}
Expand Down

0 comments on commit 958408c

Please sign in to comment.