mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Merge pull request #7 from docmunch/mc-ghc-7.8.1
I'll pull this in for now.
This commit is contained in:
commit
961ec96a0b
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user