Revert "Fix basic auth read when anon access disabled"

This reverts commit 5f3d6242fd.
This commit is contained in:
Naoki Takezoe
2015-04-16 02:12:40 +09:00
parent a1af7d0f9c
commit 2ea31d6869

View File

@@ -51,9 +51,6 @@ class BasicAuthenticationFilter extends Filter with RepositoryService with Accou
requireAuth(response)
}
}
case Some(account) if (!settings.allowAnonymousAccess) => {
chain.doFilter(req, wrappedResponse)
}
case _ => requireAuth(response)
}
}