Bug fix
This commit is contained in:
parent
52bb6fdc50
commit
4db67d2b2f
@ -37,6 +37,7 @@ import qualified Data.Text as T
|
|||||||
import Data.Text.Encoding (decodeUtf8With)
|
import Data.Text.Encoding (decodeUtf8With)
|
||||||
import Data.Text.Encoding.Error (lenientDecode)
|
import Data.Text.Encoding.Error (lenientDecode)
|
||||||
import Data.Monoid (mconcat)
|
import Data.Monoid (mconcat)
|
||||||
|
import Web.Routes.Quasi (toSinglePiece, fromSinglePiece)
|
||||||
|
|
||||||
data Auth = Auth
|
data Auth = Auth
|
||||||
|
|
||||||
|
|||||||
@ -33,6 +33,7 @@ import Yesod.Core
|
|||||||
import Text.Hamlet (hamlet)
|
import Text.Hamlet (hamlet)
|
||||||
import Control.Monad.IO.Class (liftIO)
|
import Control.Monad.IO.Class (liftIO)
|
||||||
import Control.Monad.Trans.Class (lift)
|
import Control.Monad.Trans.Class (lift)
|
||||||
|
import Web.Routes.Quasi (toSinglePiece, fromSinglePiece)
|
||||||
|
|
||||||
loginR, registerR, setpassR :: AuthRoute
|
loginR, registerR, setpassR :: AuthRoute
|
||||||
loginR = PluginR "email" ["login"]
|
loginR = PluginR "email" ["login"]
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: yesod-auth
|
name: yesod-auth
|
||||||
version: 0.4.0
|
version: 0.4.0.1
|
||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Michael Snoyman, Patrick Brisbin
|
author: Michael Snoyman, Patrick Brisbin
|
||||||
@ -9,7 +9,7 @@ category: Web, Yesod
|
|||||||
stability: Stable
|
stability: Stable
|
||||||
cabal-version: >= 1.6.0
|
cabal-version: >= 1.6.0
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
homepage: http://docs.yesodweb.com/
|
homepage: http://www.yesodweb.com/
|
||||||
|
|
||||||
flag ghc7
|
flag ghc7
|
||||||
|
|
||||||
@ -41,6 +41,7 @@ library
|
|||||||
, SHA >= 1.4.1.3 && < 1.5
|
, SHA >= 1.4.1.3 && < 1.5
|
||||||
, http-enumerator >= 0.6 && < 0.7
|
, http-enumerator >= 0.6 && < 0.7
|
||||||
, aeson >= 0.3.2.2 && < 0.4
|
, aeson >= 0.3.2.2 && < 0.4
|
||||||
|
, web-routes-quasi >= 0.7 && < 0.8
|
||||||
|
|
||||||
exposed-modules: Yesod.Helpers.Auth
|
exposed-modules: Yesod.Helpers.Auth
|
||||||
Yesod.Helpers.Auth.Dummy
|
Yesod.Helpers.Auth.Dummy
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user