Merge pull request #854 from paul-rouse/master
Redirect dynamically in GoogleEmail2 login page
This commit is contained in:
commit
245041bc92
@ -115,8 +115,7 @@ authGoogleEmail clientID clientSecret =
|
||||
`mappend` renderQueryText True qs
|
||||
|
||||
login tm = do
|
||||
url <- getDest tm
|
||||
[whamlet|<a href=#{url}>_{Msg.LoginGoogle}|]
|
||||
[whamlet|<a href=@{tm forwardUrl}>_{Msg.LoginGoogle}|]
|
||||
|
||||
dispatch :: YesodAuth site
|
||||
=> Text
|
||||
|
||||
Loading…
Reference in New Issue
Block a user