Provide a hint on how to use loginHandler.

This commit is contained in:
Alexander Bondarenko 2015-04-24 12:11:10 +03:00
parent d0010b34aa
commit 5cc440129d

View File

@ -146,6 +146,10 @@ class (Yesod master, PathPiece (AuthId master), RenderMessage master FormMessage
authPlugins :: master -> [AuthPlugin master]
-- | 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 = do
tp <- getRouteToParent