feat(creator-admin login): AGENT 권한을 가진 유저도 로그인이 가능하도록 수정
This commit is contained in:
@@ -70,7 +70,7 @@ class CreatorAdminMemberService(
|
||||
throw SodaException(messageKey = "creator.admin.member.inactive_account")
|
||||
}
|
||||
|
||||
if (member.role != MemberRole.CREATOR) {
|
||||
if (member.role != MemberRole.CREATOR && member.role != MemberRole.AGENT) {
|
||||
throw SodaException(messageKey = "common.error.bad_credentials")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user