Fix NPE when logining in(#659)

Co-authored-by: zhangxu16 <zhangxu16@xiaomi.com>
This commit is contained in:
张旭
2020-12-16 18:33:31 +08:00
committed by GitHub
parent 65c46248be
commit 16a703b5f9

View File

@@ -56,7 +56,7 @@ public class UserServiceImpl implements UserService, InitializingBean {
@Override
public void afterPropertiesSet() throws Exception {
if (configure.isEnableDashBoardCollect()) {
if (configure.isLoginRequired()) {
fileBasedUserInfoStore = new FileBasedUserInfoStore(configure);
}
}