From 97777e5c968c9430f95080ecc830f78debb8cc4c Mon Sep 17 00:00:00 2001
From: jack <jack.su@pollex.com.tw>
Date: 星期一, 31 七月 2023 17:26:09 +0800
Subject: [PATCH] [ADD] 新增OTP檢核, 驗證之前需要先檢查帳號跟index key有沒有符合, todo : 171002

---
 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