diff --git a/yesod-auth/openid.hs b/yesod-auth/openid.hs index c614ccf8..dde5d800 100644 --- a/yesod-auth/openid.hs +++ b/yesod-auth/openid.hs @@ -27,7 +27,7 @@ getRootR = getAfterLoginR getAfterLoginR :: Handler RepHtml getAfterLoginR = do mauth <- maybeAuthId - defaultLayout $ addHamlet [hamlet| + defaultLayout [whamlet|

Auth: #{show mauth} $maybe _ <- mauth

@@ -45,14 +45,15 @@ instance YesodAuth BID where loginDest _ = AfterLoginR logoutDest _ = AuthR LoginR getAuthId = return . Just . credsIdentClaimed - authPlugins _ = [authOpenId] + authPlugins _ = [authOpenId Claimed []] authHttpManager = httpManager + maybeAuthId = lookupSession credsKey instance RenderMessage BID FormMessage where renderMessage _ _ = defaultFormMessage main :: IO () main = do - m <- newManager def + m <- newManager tlsManagerSettings toWaiApp (BID m) >>= run 3000