diff --git a/doc/tutorial/Authentication.lhs b/doc/tutorial/Authentication.lhs index 9b3fa07b..25b87bd1 100644 --- a/doc/tutorial/Authentication.lhs +++ b/doc/tutorial/Authentication.lhs @@ -281,7 +281,7 @@ lookupAccount key = case Map.lookup key database of For generalized authentication, servant exposes the `AuthHandler` type, which is used to wrap the `Request -> Handler user` logic. Let's create a value of type `AuthHandler Request Account` using the above `lookupAccount` -method: +method (note: we depend upon `cookie`'s `parseCookies` for this): ```haskell import Web.Cookie (parseCookies)