forked from enviPath/enviPy
[Fix] Registering Issue (#125)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#125
This commit is contained in:
@ -164,7 +164,7 @@ class UserManager(object):
|
||||
if 'uuid' in kwargs:
|
||||
extra_fields['uuid'] = kwargs['uuid']
|
||||
|
||||
u = get_user_model().objects.create_user(username, email, password, **kwargs)
|
||||
u = get_user_model().objects.create_user(username, email, password, **extra_fields)
|
||||
|
||||
# Create package
|
||||
package_name = f"{u.username}{'’' if u.username[-1] in 'sxzß' else 's'} Package"
|
||||
|
||||
Reference in New Issue
Block a user