Provide a hint on how to use loginHandler.
This commit is contained in:
parent
d0010b34aa
commit
5cc440129d
@ -146,6 +146,10 @@ class (Yesod master, PathPiece (AuthId master), RenderMessage master FormMessage
|
|||||||
authPlugins :: master -> [AuthPlugin master]
|
authPlugins :: master -> [AuthPlugin master]
|
||||||
|
|
||||||
-- | What to show on the login page.
|
-- | What to show on the login page.
|
||||||
|
--
|
||||||
|
-- Default handler concatenates plugin widgets and wraps the result
|
||||||
|
-- in 'authLayout'. Override if you need fancy widget containers
|
||||||
|
-- or entirely custom page.
|
||||||
loginHandler :: AuthHandler master Html
|
loginHandler :: AuthHandler master Html
|
||||||
loginHandler = do
|
loginHandler = do
|
||||||
tp <- getRouteToParent
|
tp <- getRouteToParent
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user