Commit 1b59e1f0 authored by Matija Obreza's avatar Matija Obreza

Fix: ftpUserManager not available

parent 816daf81
......@@ -208,7 +208,12 @@ public class FileRepositoryConfig implements InitializingBean {
}
}
@Bean
protected UserManager ftpUserManager() {
if (ftpServerPort <= 0) {
return null;
}
System.err.println("Creating FTP user manager");
return new AbstractUserManager() {
@Autowired
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment