Merge branch 'hotfix/fix-make-password'
This commit is contained in:
commit
105e3023ab
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user