mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-12-30 20:29:58 +01:00
Revert "Fix basic auth read when anon access disabled"
This reverts commit 5f3d6242fd.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user