From 5cc78b435aaf3b394ea49c1ed122c6dba5a66b29 Mon Sep 17 00:00:00 2001 From: aaron levin Date: Sat, 16 Jan 2016 18:31:26 +0100 Subject: [PATCH] Remove user type for more idiomatic auth combinators --- servant/src/Servant/API/Auth.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servant/src/Servant/API/Auth.hs b/servant/src/Servant/API/Auth.hs index e04c7cca..00a11adf 100644 --- a/servant/src/Servant/API/Auth.hs +++ b/servant/src/Servant/API/Auth.hs @@ -17,7 +17,7 @@ import GHC.TypeLits (Symbol) -- In Basic Auth, username and password are base64-encoded and transmitted via -- the @Authorization@ header. Handshakes are not required, making it -- relatively efficient. -data BasicAuth (realm :: Symbol) (usr :: *) +data BasicAuth (realm :: Symbol) deriving (Typeable) -- | A generalized Authentication combinator.