From 2746921f12702d4075d857713ac67bbe3de05813 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期四, 23 五月 2024 09:59:13 +0800
Subject: [PATCH] fix: 获取司机配送员信息接口修改

---
 xboot-core/src/main/java/cn/exrick/xboot/core/config/security/WebSecurityConfig.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xboot-core/src/main/java/cn/exrick/xboot/core/config/security/WebSecurityConfig.java b/xboot-core/src/main/java/cn/exrick/xboot/core/config/security/WebSecurityConfig.java
index 60ee2e7..d4f0685 100644
--- a/xboot-core/src/main/java/cn/exrick/xboot/core/config/security/WebSecurityConfig.java
+++ b/xboot-core/src/main/java/cn/exrick/xboot/core/config/security/WebSecurityConfig.java
@@ -81,7 +81,8 @@
 
     @Override
     protected void configure(AuthenticationManagerBuilder auth) throws Exception {
-        auth.userDetailsService(userDetailsService).passwordEncoder(new BCryptPasswordEncoder());
+        auth.authenticationProvider(new DaoAuthenticationProvider());
+        //auth.userDetailsService(userDetailsService).passwordEncoder(new BCryptPasswordEncoder());
     }
 
     @Override

--
Gitblit v1.9.1