Fix wrong function call for auto-creating a new user

This commit is contained in:
Nathan Chapman 2023-07-24 08:08:51 -06:00
parent b50b10208f
commit 0e47679e9a

View File

@ -22,7 +22,7 @@ def get_or_create_customer(request, shipping_address):
} }
) )
if u_created: if u_created:
user.make_random_password() user.set_unusable_password()
user.save() user.save()
return user return user