Skip to content

Commit

Permalink
fix: removed auth call to authelia api
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-merlin committed Nov 18, 2024
1 parent bab25c0 commit 3192f7d
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ public Member getMemberById(Long memberId) {
@Override
public Member createMember(Member member) {
member.setDateJoined(LocalDate.now());
AuthMember AuthMember = new AuthMember(member);
try {
authApiService.createAuthMember(AuthMember);
} catch (Exception e) {
log.error("Failed to create Auth user for username: {}", member.getUsername(), e.getMessage());
throw new RuntimeException("Auth API failed to create member " + member.getUsername());
}
return memberRepository.save(member);
}

Expand Down

0 comments on commit 3192f7d

Please sign in to comment.