mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-10-08 15:21:38 +00:00
fix temporary user id passing to user verification 🐛
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m52s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m52s
This commit is contained in:
@@ -42,7 +42,8 @@ def assign_device_permissions(sender, instance, created, **kwargs):
|
||||
@receiver(post_save, sender=TemporaryUser)
|
||||
def verify_user_with_person_api(sender, instance, created, **kwargs):
|
||||
if created:
|
||||
verify_user_with_person_api_task(instance.id)
|
||||
print(f"Temporary User Instance: {instance}")
|
||||
verify_user_with_person_api_task(instance.t_id)
|
||||
|
||||
|
||||
@receiver(reset_password_token_created)
|
||||
|
Reference in New Issue
Block a user