Show More
@@ -112,7 +112,7 class UserModel(BaseModel): | |||||
112 | new_user.password = get_crypt_password(password) |
|
112 | new_user.password = get_crypt_password(password) | |
113 | new_user.api_key = generate_api_key(username) |
|
113 | new_user.api_key = generate_api_key(username) | |
114 | new_user.email = attrs['email'] |
|
114 | new_user.email = attrs['email'] | |
115 | new_user.active = True |
|
115 | new_user.active = attrs.get('active',True) | |
116 | new_user.ldap_dn = safe_unicode(user_dn) |
|
116 | new_user.ldap_dn = safe_unicode(user_dn) | |
117 | new_user.name = attrs['name'] |
|
117 | new_user.name = attrs['name'] | |
118 | new_user.lastname = attrs['lastname'] |
|
118 | new_user.lastname = attrs['lastname'] |
General Comments 0
You need to be logged in to leave comments.
Login now