stackage/patching/patches/yesod-auth-oauth-1.2.0.patch
2014-03-30 13:31:38 +03:00

27 lines
1.3 KiB
Diff

diff -ru orig/Yesod/Auth/OAuth.hs new/Yesod/Auth/OAuth.hs
--- orig/Yesod/Auth/OAuth.hs 2014-03-30 12:34:43.941422434 +0300
+++ new/Yesod/Auth/OAuth.hs 2014-03-30 12:34:43.000000000 +0300
@@ -72,7 +72,7 @@
master <- getYesod
accTok <- getAccessToken oauth reqTok (authHttpManager master)
creds <- liftIO $ mkCreds accTok
- setCreds True creds
+ setCredsRedirect creds
dispatch _ _ = notFound
login tm = do
render <- getUrlRender
diff -ru orig/yesod-auth-oauth.cabal new/yesod-auth-oauth.cabal
--- orig/yesod-auth-oauth.cabal 2014-03-30 12:34:43.941422434 +0300
+++ new/yesod-auth-oauth.cabal 2014-03-30 12:34:43.000000000 +0300
@@ -23,8 +23,8 @@
build-depends: authenticate-oauth >= 1.4 && < 1.5
, bytestring >= 0.9.1.4
, yesod-core >= 1.2 && < 1.3
- , yesod-auth >= 1.2 && < 1.3
- , text >= 0.7 && < 0.12
+ , yesod-auth >= 1.3 && < 1.4
+ , text >= 0.7 && < 1.2
, yesod-form >= 1.3 && < 1.4
, transformers >= 0.2.2 && < 0.4
, lifted-base >= 0.2 && < 0.3