648540858
2022-03-02 6a4cdc36b1c2094a2a8fa166e3596323b27454d3
src/main/java/com/genersoft/iot/vmp/conf/security/SecurityUtils.java
@@ -48,7 +48,7 @@
        Authentication authentication = getAuthentication();
        if(authentication!=null){
            Object principal = authentication.getPrincipal();
            if(principal!=null){
            if(principal!=null && !"anonymousUser".equals(principal)){
                LoginUser user = (LoginUser) authentication.getPrincipal();
                return user;
            }