From 492aab630a78d8edcd50b879b1e552742bd9d10a Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Wed, 9 Dec 2020 18:44:52 +0100 Subject: [PATCH] Mark ToDo --- src/api.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api.rs b/src/api.rs index fd294eb..279ab19 100644 --- a/src/api.rs +++ b/src/api.rs @@ -17,6 +17,7 @@ mod machines; use machines::Machines; +// TODO Session restoration by making the Bootstrap cap a SturdyRef pub struct Bootstrap { session: Arc, db: Databases, @@ -35,7 +36,7 @@ impl connection_capnp::bootstrap::Server for Bootstrap { _: Params, mut res: Results ) -> Promise<(), capnp::Error> { - // Forbid mutltiple authentication for now + // TODO: Forbid mutltiple authentication for now // TODO: When should we allow multiple auth and how do me make sure that does not leak // priviledges (e.g. due to previously issues caps)?