additional changes for the encoding

This commit is contained in:
2026-06-24 17:02:56 +02:00
parent db15df57c3
commit debd4dceb1
+1 -1
View File
@@ -205,7 +205,7 @@ sanitized = "".join(c for c in tenant_id if c.isalnum() or c == "_")
db_name = f"inventar_{sanitized}"
client = MongoClient(settings.MONGODB_HOST, int(settings.MONGODB_PORT))
db = client[db_name]
hashed_pw = hashlib.scrypt("admin123".encode(), salt=b"some_salt", n=16384, r=8, p=1).hex()
hashed_pw = hashlib.scrypt("admin123", salt=b"some_salt", n=16384, r=8, p=1).hex()
action_permissions = {
"can_borrow": True,