From aa109c6e83f23a3c81ccc4645ce233492364307d Mon Sep 17 00:00:00 2001 From: jack <jack.su@pollex.com.tw> Date: 星期一, 18 七月 2022 23:06:16 +0800 Subject: [PATCH] [UPDATE] 驗證碼驗證失敗改為回傳401 [BUG] 調整spring security設定 --- pamapi/src/main/java/com/pollex/pam/web/rest/UserResource.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/web/rest/UserResource.java b/pamapi/src/main/java/com/pollex/pam/web/rest/UserResource.java index f7b7e17..6c1217b 100644 --- a/pamapi/src/main/java/com/pollex/pam/web/rest/UserResource.java +++ b/pamapi/src/main/java/com/pollex/pam/web/rest/UserResource.java @@ -1,15 +1,15 @@ package com.pollex.pam.web.rest; -import com.pollex.pam.config.Constants; -import com.pollex.pam.domain.User; -import com.pollex.pam.repository.UserRepository; -import com.pollex.pam.security.AuthoritiesConstants; -import com.pollex.pam.service.MailService; -import com.pollex.pam.service.UserService; -import com.pollex.pam.service.dto.AdminUserDTO; -import com.pollex.pam.web.rest.errors.BadRequestAlertException; -import com.pollex.pam.web.rest.errors.EmailAlreadyUsedException; -import com.pollex.pam.web.rest.errors.LoginAlreadyUsedException; +import com.pollex.pam.business.config.Constants; +import com.pollex.pam.business.domain.User; +import com.pollex.pam.business.repository.UserRepository; +import com.pollex.pam.business.security.AuthoritiesConstants; +import com.pollex.pam.business.service.MailService; +import com.pollex.pam.business.service.UserService; +import com.pollex.pam.business.service.dto.AdminUserDTO; +import com.pollex.pam.business.web.errors.BadRequestAlertException; +import com.pollex.pam.business.web.errors.EmailAlreadyUsedException; +import com.pollex.pam.business.web.errors.LoginAlreadyUsedException; import java.net.URI; import java.net.URISyntaxException; import java.util.*; -- Gitblit v1.8.0