Bring back the comment
This commit is contained in:
parent
400bd564dc
commit
c24096be16
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue