Merge pull request #7 from docmunch/mc-ghc-7.8.1

I'll pull this in for now.
This commit is contained in:
scan 2014-08-09 21:16:05 +02:00
commit 961ec96a0b
2 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ authOAuth2 name oauth getCreds = AuthPlugin name dispatch login
Left _ -> permissionDenied "Unable to retreive OAuth2 token"
Right token -> do
creds <- liftIO $ getCreds token
lift $ setCreds True creds
lift $ setCredsRedirect creds
dispatch _ _ = notFound

View File

@ -1,5 +1,5 @@
name: yesod-auth-oauth2
version: 0.0.4
version: 0.0.5
license: BSD3
license-file: LICENSE
author: Tom Streller
@ -25,8 +25,8 @@ library
, http-conduit >= 2.0 && < 3.0
, http-types >= 0.8 && < 0.9
, aeson >= 0.6 && < 0.8
, yesod-core >= 1.2 && < 1.3
, yesod-auth >= 1.2 && < 1.3
, yesod-core >= 1.2 && < 1.4
, yesod-auth >= 1.2 && < 1.4
, text >= 0.7 && < 2.0
, yesod-form >= 1.3 && < 1.4
, transformers >= 0.2.2 && < 0.4