frontend: fix account and owner creation (fixes #108)

This commit is contained in:
Kevin Trocolli committed 2024-03-02 17:48:48 -05:00
1 parent 84c059ed75
commit bd97428166
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ class Data:
)
hash = bcrypt.hashpw(pw.encode(), bcrypt.gensalt())
user_id = await self.user.create_user("sysowner", email, hash.decode(), 255)
user_id = await self.user.create_user(username="sysowner", email=email, password=hash.decode(), permission=255)
if user_id is None:
self.logger.error(f"Failed to create owner with email {email}")
return