fix(chrome-ledger): enforce implant ownership
This commit is contained in:
1 parent
a4eba116db
commit
48c7ab4618
3 files changed
+6
-6
No files matched your search
@@ -46,4 +46,4 @@ def check_certificate(implant_id):
|
||||
@bp.post("/reissue/<implant_id>")
|
||||
@owner_session
|
||||
def reissue_certificate(implant_id):
|
||||
return implants.reissue(database(), ledger(), implant_id, json_object()), 200
|
||||
return implants.reissue(database(), ledger(), implant_id, g.user["id"], json_object()), 200
|
||||
Reference in new issue
Block a user