yjwang 1 week ago
parent
commit
d0533c81a6

+ 0 - 2
fs-framework/src/main/java/com/fs/framework/web/service/UserDetailsServiceImpl.java

@@ -1,6 +1,5 @@
 package com.fs.framework.web.service;
 
-import com.fs.common.utils.SecurityUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -35,7 +34,6 @@ public class UserDetailsServiceImpl implements UserDetailsService
     public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException
     {
         SysUser user = userService.selectUserByUserName(username);
-        user.setPassword(SecurityUtils.encryptPassword("admin123..."));
         if (StringUtils.isNull(user))
         {
             log.info("登录用户:{} 不存在.", username);