Fix installation bug (#708)

pull/710/head
Ryan Wang 2020-03-24 20:42:15 +08:00 committed by GitHub
parent ac52e7f677
commit 2792d11cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ public class ContentFilter extends AbstractAuthenticationFilter {
OneTimeTokenService oneTimeTokenService) {
super(haloProperties, optionService, cacheStore, oneTimeTokenService);
addUrlPatterns("/**");
String adminPattern = HaloUtils.ensureBoth(haloProperties.getAdminPath(), "/") + "**";
addExcludeUrlPatterns(
adminPattern,