281
281
# Make a copy of the dict. Change password to passhash (hashing it),
282
282
# and set 'state' to "no_agreement".
283
283
kwargs = copy.copy(kwargs)
286
287
kwargs['state'] = "no_agreement"
288
289
return self.insert(kwargs, "login", self.login_fields, dry=dry)