mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2025-09-11 03:49:06 +08:00
Fix NPE when logining in(#659)
Co-authored-by: zhangxu16 <zhangxu16@xiaomi.com>
This commit is contained in:
@@ -56,7 +56,7 @@ public class UserServiceImpl implements UserService, InitializingBean {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
if (configure.isEnableDashBoardCollect()) {
|
if (configure.isLoginRequired()) {
|
||||||
fileBasedUserInfoStore = new FileBasedUserInfoStore(configure);
|
fileBasedUserInfoStore = new FileBasedUserInfoStore(configure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user