Check DOCKER_ENABLE_SECURITY for UI (#1103)

When using `DOCKER_ENABLE_SECURITY=false`, the logout button and `Account Settings` are no longer displayed.
This commit is contained in:
Ludy
2024-04-21 22:16:39 +02:00
committed by GitHub
parent 5185fd13b8
commit 3189d9dda8
3 changed files with 14 additions and 2 deletions

View File

@@ -166,4 +166,9 @@ public class SecurityConfiguration {
public PersistentTokenRepository persistentTokenRepository() {
return new JPATokenRepositoryImpl();
}
@Bean
public boolean activSecurity() {
return true;
}
}