diff options
-rw-r--r-- | README.rst | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ Factory._prepare method:: password = kwargs.pop('password', None) user = super(UserFactory, cls)._prepare(create, **kwargs) if password: - user.set_password(user) + user.set_password(password) if create: user.save() return user |