This commit is contained in:
sayali 2021-01-27 22:57:33 -08:00
parent b9be18f281
commit f14a236739

View File

@ -32,7 +32,7 @@ def create(username, password, email, active, profile_picture, roles):
profile_picture=profile_picture, profile_picture=profile_picture,
) )
user.roles = roles user.roles = roles
log_service.audit_log("create_user", username, f"Creating new user") log_service.audit_log("create_user", username, "Creating new user")
return database.create(user) return database.create(user)