about summary refs log tree commit diff
path: root/src/API.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/API.hs')
-rw-r--r--src/API.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/API.hs b/src/API.hs
index 461c851126a4..956e745b30fd 100644
--- a/src/API.hs
+++ b/src/API.hs
@@ -16,6 +16,7 @@ type SessionCookie = Header' '[Required] "Cookie" T.SessionCookie
 type API =
       -- accounts: Create
            "accounts"
+           :> Header "Cookie" T.SessionCookie
            :> ReqBody '[JSON] T.CreateAccountRequest
            :> Post '[JSON] NoContent
       :<|> "verify"