mirror of https://github.com/halo-dev/halo
Fix installation bug (#708)
parent
ac52e7f677
commit
2792d11cd2
|
@ -31,6 +31,8 @@ public class ContentFilter extends AbstractAuthenticationFilter {
|
||||||
OneTimeTokenService oneTimeTokenService) {
|
OneTimeTokenService oneTimeTokenService) {
|
||||||
super(haloProperties, optionService, cacheStore, oneTimeTokenService);
|
super(haloProperties, optionService, cacheStore, oneTimeTokenService);
|
||||||
|
|
||||||
|
addUrlPatterns("/**");
|
||||||
|
|
||||||
String adminPattern = HaloUtils.ensureBoth(haloProperties.getAdminPath(), "/") + "**";
|
String adminPattern = HaloUtils.ensureBoth(haloProperties.getAdminPath(), "/") + "**";
|
||||||
addExcludeUrlPatterns(
|
addExcludeUrlPatterns(
|
||||||
adminPattern,
|
adminPattern,
|
||||||
|
|
Loading…
Reference in New Issue