Merge tag 'fix-make-password' into develop
3.3.5 fix-make-password
This commit is contained in:
commit
111757be35
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user