Revision 733f013d snf-astakos-app/astakos/api/projects.py

b/snf-astakos-app/astakos/api/projects.py
380 380
        owner = user
381 381
    else:
382 382
        try:
383
            owner = AstakosUser.objects.get(uuid=uuid, email_verified=True)
383
            owner = AstakosUser.objects.accepted().get(uuid=uuid)
384 384
        except AstakosUser.DoesNotExist:
385 385
            raise faults.BadRequest("User does not exist.")
386 386

  

Also available in: Unified diff