From 5e8b57aacdbf94cd57c4d3533ded5ee73ff71340 Mon Sep 17 00:00:00 2001
From: jack <jack.su@pollex.com.tw>
Date: 星期五, 27 十二月 2024 14:43:28 +0800
Subject: [PATCH] [UPDATE] 透過e service 登入時調整判斷錯誤的邏輯, 如果登入失敗的時候也需要從DB提取錯誤訊息顯示

---
 pamapi/src/main/java/com/pollex/pam/config/CacheConfiguration.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/config/CacheConfiguration.java b/pamapi/src/main/java/com/pollex/pam/config/CacheConfiguration.java
index 980373c..12bbec4 100644
--- a/pamapi/src/main/java/com/pollex/pam/config/CacheConfiguration.java
+++ b/pamapi/src/main/java/com/pollex/pam/config/CacheConfiguration.java
@@ -43,11 +43,11 @@
     @Bean
     public JCacheManagerCustomizer cacheManagerCustomizer() {
         return cm -> {
-            createCache(cm, com.pollex.pam.repository.UserRepository.USERS_BY_LOGIN_CACHE);
-            createCache(cm, com.pollex.pam.repository.UserRepository.USERS_BY_EMAIL_CACHE);
-            createCache(cm, com.pollex.pam.domain.User.class.getName());
-            createCache(cm, com.pollex.pam.domain.Authority.class.getName());
-            createCache(cm, com.pollex.pam.domain.User.class.getName() + ".authorities");
+            createCache(cm, com.pollex.pam.business.repository.UserRepository.USERS_BY_LOGIN_CACHE);
+            createCache(cm, com.pollex.pam.business.repository.UserRepository.USERS_BY_EMAIL_CACHE);
+            createCache(cm, com.pollex.pam.business.domain.User.class.getName());
+            createCache(cm, com.pollex.pam.business.domain.Authority.class.getName());
+            createCache(cm, com.pollex.pam.business.domain.User.class.getName() + ".authorities");
             // jhipster-needle-ehcache-add-entry
         };
     }

--
Gitblit v1.8.0