on master help sign in
Bring back the comment
c24096bJoeMShanahan
doc/tutorial/Authentication.lhs+3
@@ -286,6 +286,9 @@ method:
286```haskell
286```haskell
287import Web.Cookie (parseCookies)
287import Web.Cookie (parseCookies)
288
288
289+--- | The auth handler wraps a function from Request -> Handler Account
290+--- we look for a Cookie in the header and the perform a token look up
291+--- on the cookie, passing it to `lookupAccount`.
289authHandler :: AuthHandler Request Account
292authHandler :: AuthHandler Request Account
290authHandler = mkAuthHandler handler
293authHandler = mkAuthHandler handler
291 where
294 where