From 2c42cc0bf7f8b502af5f75ef903734c85ca09c4a Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Thu, 16 Apr 2020 21:43:28 +0200
Subject: [PATCH] Fixed #511 - favicon is only available after login

---
 .../budgetmaster/authentication/WebSecurityConfig.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/de/deadlocker8/budgetmaster/authentication/WebSecurityConfig.java b/src/main/java/de/deadlocker8/budgetmaster/authentication/WebSecurityConfig.java
index 03686f1d7..4949124de 100644
--- a/src/main/java/de/deadlocker8/budgetmaster/authentication/WebSecurityConfig.java
+++ b/src/main/java/de/deadlocker8/budgetmaster/authentication/WebSecurityConfig.java
@@ -43,7 +43,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter
 				.and()
 
 				.authorizeRequests()
-				.antMatchers("/css/**", "/js/**",  "/images/**", "/webjars/**").permitAll()
+				.antMatchers("/css/**", "/js/**",  "/images/**", "/webjars/**", "/favicon.ico").permitAll()
 				.antMatchers("/**").authenticated()
 				.antMatchers("/login").permitAll()
 				.and()
-- 
GitLab