Skip to content

Commit

Permalink
Fixed #1330 - HTTP basic authentication not working in 2.5
Browse files Browse the repository at this point in the history
we lost an important "else" in LiftServlet - (Thanks to Aditya Vishwakarma for pointing it out)
  • Loading branch information
fmpwizard authored and Naftoli Gugenheim committed Oct 24, 2012
1 parent 67cd3cf commit 22250b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/webkit/src/main/scala/net/liftweb/http/LiftServlet.scala
Expand Up @@ -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)))
Expand Down

0 comments on commit 22250b5

Please sign in to comment.