Skip to content

Commit

Permalink
Merge pull request #131 from cau-likelion-org/refactoring
Browse files Browse the repository at this point in the history
기존 회원 제외 로그인 블록킹
  • Loading branch information
hayeongKo authored Mar 10, 2024
2 parents 96ab215 + 0de32a8 commit 416cf99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ def put(self, request):
update_serial.save()

# 아이디 활성화
user.is_active = True
# user.is_active = True
user.save()

if user.is_admin == False and user.generation == 11:
if user.is_admin == False and user.generation == 12:
# mypage 모델 생성
new_cumulative_attendance = CumulativeAttendance.objects.create(
user = user,
Expand Down

0 comments on commit 416cf99

Please sign in to comment.