From c24096be168ce702d0410e9b253066b4b4f75d08 Mon Sep 17 00:00:00 2001 From: JoeMShanahan Date: Mon, 17 Jul 2017 10:09:51 +0100 Subject: [PATCH] Bring back the comment --- doc/tutorial/Authentication.lhs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/tutorial/Authentication.lhs b/doc/tutorial/Authentication.lhs index 2b6ce60a..9b3fa07b 100644 --- a/doc/tutorial/Authentication.lhs +++ b/doc/tutorial/Authentication.lhs @@ -286,6 +286,9 @@ method: ```haskell import Web.Cookie (parseCookies) +--- | The auth handler wraps a function from Request -> Handler Account +--- we look for a Cookie in the header and the perform a token look up +--- on the cookie, passing it to `lookupAccount`. authHandler :: AuthHandler Request Account authHandler = mkAuthHandler handler where