diff --git a/accounts/utils.py b/accounts/utils.py index f41c16c..82a0144 100644 --- a/accounts/utils.py +++ b/accounts/utils.py @@ -22,7 +22,7 @@ def get_or_create_customer(request, shipping_address): } ) if u_created: - user.make_random_password() + user.set_unusable_password() user.save() return user