Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ishvindersethi22 authored Jul 3, 2024
1 parent 138bb5b commit 6726062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4359,6 +4359,7 @@ def verify_password(
if project.check_project_password(password):
current_user = User.objects.filter(id=request.user.id)
project.annotators.add(current_user)
project.save()
return Response(
{"message": "Authentication Successful"},
status=status.HTTP_200_OK,
Expand Down

0 comments on commit 6726062

Please sign in to comment.