From 1eeea16792000674f306dc30b793ec4d4feb6683 Mon Sep 17 00:00:00 2001 From: Klaus <klaus@vividnext.co.kr> Date: Thu, 9 Nov 2023 16:38:21 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B8=EC=9D=B8=EC=9D=B8=EC=A6=9D=20:=20bloc?= =?UTF-8?q?k=20=EB=90=9C=20=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=EB=A1=9C=20=EB=B3=B8=EC=9D=B8=EC=9D=B8=EC=A6=9D?= =?UTF-8?q?=EC=9D=84=20=EC=8B=9C=EB=8F=84=ED=95=98=EB=8A=94=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=20-=20=EB=B3=B8=EC=9D=B8=EC=9D=B8=EC=A6=9D=20?= =?UTF-8?q?=EC=8B=9C=EB=8F=84=20=EA=B3=84=EC=A0=95=20=ED=83=88=ED=87=B4=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/co/vividnext/sodalive/member/auth/AuthService.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/member/auth/AuthService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/member/auth/AuthService.kt index d3f66f0..cbc3e30 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/member/auth/AuthService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/member/auth/AuthService.kt @@ -58,6 +58,7 @@ class AuthService( if (isBlockAuth(certificate)) { signOut(member) + member.isActive = false throw SodaException(blockMessage) } @@ -96,9 +97,9 @@ class AuthService( return blockAuthId != null && blockAuthId > 0 } - private fun signOut(member: Member) { + @Transactional() + fun signOut(member: Member) { memberService.logoutAll(memberId = member.id!!) - member.isActive = false val signOut = SignOut(reason = blockMessage) signOut.member = member