pre-baked Route Auth value
Added forwardUrl alias for `PluginR "browserid" []` as in other plugins (e.g. GoogleEmail2 and OpenID).
This commit is contained in:
parent
adc259a8e8
commit
13f0eb3895
@ -9,6 +9,7 @@ module Yesod.Auth.BrowserId
|
||||
, BrowserIdSettings
|
||||
, bisAudience
|
||||
, bisLazyLoad
|
||||
, forwardUrl
|
||||
) where
|
||||
|
||||
import Yesod.Auth
|
||||
@ -28,8 +29,10 @@ import Data.Default
|
||||
pid :: Text
|
||||
pid = "browserid"
|
||||
|
||||
complete :: Route Auth
|
||||
complete = PluginR pid []
|
||||
forwardUrl :: AuthRoute
|
||||
forwardUrl = PluginR pid []
|
||||
|
||||
complete = forwardUrl
|
||||
|
||||
-- | A settings type for various configuration options relevant to BrowserID.
|
||||
--
|
||||
|
||||
Loading…
Reference in New Issue
Block a user