Permalink
Browse files

Fixed #1330 - HTTP basic authentication not working in 2.5

we lost an important "else" in LiftServlet - (Thanks to Aditya Vishwakarma for pointing it out)
  • Loading branch information...
1 parent 6a8d75d commit 8b527fc2fd8687d270758e379d3c41bc02610695 @fmpwizard fmpwizard committed Oct 11, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 web/webkit/src/main/scala/net/liftweb/http/LiftServlet.scala
@@ -261,9 +261,8 @@ class LiftServlet extends Loggable {
Full(new JsCommands(cmd :: Nil).toResponse)
}
- }
- // if the request is matched is defined in the stateless table, dispatch
- if (S.statelessInit(req) {
+ } else if (S.statelessInit(req) {
+ // if the request is matched is defined in the stateless table, dispatch
tmpStatelessHolder = NamedPF.applyBox(req,
LiftRules.statelessDispatch.toList).map(_.apply() match {
case Full(a) => Full(LiftRules.convertResponse((a, Nil, S.responseCookies, req)))

0 comments on commit 8b527fc

Please sign in to comment.