Show More
@@ -85,6 +85,9 b' class DbManage(object):' | |||||
85 | new_user = User() |
|
85 | new_user = User() | |
86 | new_user.username = username |
|
86 | new_user.username = username | |
87 | new_user.password = get_crypt_password(password) |
|
87 | new_user.password = get_crypt_password(password) | |
|
88 | new_user.username = 'Admin' | |||
|
89 | new_user.lastname = 'Admin' | |||
|
90 | new_user.lastname = 'admin@localhost' | |||
88 | new_user.admin = admin |
|
91 | new_user.admin = admin | |
89 | new_user.active = True |
|
92 | new_user.active = True | |
90 |
|
93 |
General Comments 0
You need to be logged in to leave comments.
Login now